{"id":14278,"date":"2024-08-30T12:06:18","date_gmt":"2024-08-30T12:06:18","guid":{"rendered":"https:\/\/www.pickl.ai\/blog\/?p=14278"},"modified":"2024-09-05T05:35:57","modified_gmt":"2024-09-05T05:35:57","slug":"bokeh-interactive-data-visualisation","status":"publish","type":"post","link":"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/","title":{"rendered":"Bokeh: A Comprehensive Guide to Interactive Data Visualisation"},"content":{"rendered":"\n<p><strong>Summary:<\/strong> Bokeh is an open-source Python library designed for creating interactive visualisations for modern web browsers. It enables users to generate complex plots easily and embed them into web applications. With features like real-time streaming, customizable dashboards, and extensive support for various data formats, Bokeh empowers data scientists and developers to present data effectively.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/#Introduction\" >Introduction<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/#What_is_Bokeh\" >What is Bokeh?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/#Key_Features_of_Bokeh\" >Key Features of Bokeh<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/#Setting_Up_Bokeh\" >Setting Up Bokeh<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/#Step_1_Installation\" >Step 1: Installation<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/#Step_2_Verifying_Installation\" >Step 2: Verifying Installation<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/#Step_3_Creating_Basic_Plots_with_Bokeh\" >Step 3: Creating Basic Plots with Bokeh<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/#Example_Creating_a_Simple_Line_Plot\" >Example: Creating a Simple Line Plot<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/#Creating_Other_Basic_Plots\" >Creating Other Basic Plots<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/#Example_Creating_a_Bar_Chart\" >Example: Creating a Bar Chart<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/#Advanced_Plotting_with_Bokeh\" >Advanced Plotting with Bokeh<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/#Customising_Plots\" >Customising Plots<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/#Adding_Annotations\" >Adding Annotations<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/#Example_Adding_Annotations\" >Example: Adding Annotations<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/#Creating_Interactive_Widgets\" >Creating Interactive Widgets<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/#Example_Using_a_Slider\" >Example: Using a Slider<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/#Example_Creating_a_Grid_Layout\" >Example: Creating a Grid Layout<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/#Real-World_Application_Example\" >Real-World Application Example<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/#Example_Financial_Dashboard\" >Example: Financial Dashboard<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-20\" href=\"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/#Implementation_Steps\" >Implementation Steps<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-21\" href=\"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/#Tips_and_Best_Practices\" >Tips and Best Practices<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-22\" href=\"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/#Conclusion\" >Conclusion<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-23\" href=\"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/#Frequently_Asked_Questions\" >Frequently Asked Questions<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-24\" href=\"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/#What_is_Bokeh_Used_For\" >What is Bokeh Used For?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-25\" href=\"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/#How_do_I_Install_Bokeh\" >How do I Install Bokeh?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-26\" href=\"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/#Can_I_Create_Dashboards_with_Bokeh\" >Can I Create Dashboards with Bokeh?<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2 id=\"introduction\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Introduction\"><\/span><strong>Introduction<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In the era of big data, effective <a href=\"https:\/\/pickl.ai\/blog\/exploratory-data-analysis-through-visualization\/\">data visualisation<\/a> is crucial for understanding complex datasets and making informed decisions. Bokeh, a powerful Python library, stands out for its ability to create interactive plots and dashboards that can be easily embedded in web applications.&nbsp;<\/p>\n\n\n\n<p>This blog will explore Bokeh in detail, covering its features, setup, basic and advanced plotting techniques, real-world applications, and best practices.<\/p>\n\n\n\n<h2 id=\"what-is-bokeh\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_is_Bokeh\"><\/span><strong>What is Bokeh?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Bokeh, an open-source Python library, enables users to create interactive and visually appealing plots. Unlike static plotting libraries such as Matplotlib, it renders its visualisations using HTML and JavaScript, making it particularly suited for web applications.&nbsp;<\/p>\n\n\n\n<p>This interactivity allows users to engage with the data more dynamically, facilitating deeper insights and exploration.<\/p>\n\n\n\n<h2 id=\"key-features-of-bokeh\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Key_Features_of_Bokeh\"><\/span><strong>Key Features of Bokeh<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Interactivity: <\/strong>It plots are interactive by default, allowing users to zoom, pan, and hover over data points for additional information.<\/li>\n\n\n\n<li><strong>Flexibility:<\/strong> The library supports a wide range of plot types, from simple line graphs to complex multi-layered visualisations.<\/li>\n\n\n\n<li><strong>Integration:<\/strong> It easily integrates with other popular <a href=\"https:\/\/pickl.ai\/blog\/list-of-python-libraries-for-data-science\/\">Python libraries<\/a>, such as Pandas and NumPy, making it a valuable tool for <a href=\"https:\/\/pickl.ai\/blog\/why-python-is-essential-for-data-analysis\/\">Data Analysis<\/a>.<\/li>\n\n\n\n<li><strong>Web-Friendly<\/strong>: Bokeh generates HTML and JavaScript outputs, allowing you to embed visualisations directly into web applications or share them online.<\/li>\n\n\n\n<li><strong>Customisability: <\/strong>Users can customise plots extensively, adjusting colours, sizes, and labels to suit their specific needs.<\/li>\n<\/ul>\n\n\n\n<h2 id=\"setting-up-bokeh\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Setting_Up_Bokeh\"><\/span><strong>Setting Up Bokeh<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Before diving into creating visualisations, it\u2019s essential to set up Bokeh in your Python environment. Here\u2019s how to get started:<\/p>\n\n\n\n<h3 id=\"step-1-installation\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_1_Installation\"><\/span><strong>Step 1: Installation<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>You can install Bokeh using pip or conda. Open your terminal or command prompt and run:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXdoaf8MaooGp604c9cbP0lnnSy3iTtvLIxNQT4F8pFF8BiMqUg9WCHRX8wH1rkxIhFygqt8Nwa0RG6FZzhHjZdQoZasyyMtnkubY5GFdy8gQ_IfdtkmJUj5pv5O6W9GbhqaD2ISUK5jgbhqFfZq_PxsLam4?key=sZAbo3oTW336ZrlHC5lrcg\" alt=\"Setting Up Bokeh\"\/><\/figure>\n<\/div>\n\n\n<p>Or, if you are using <a href=\"https:\/\/pickl.ai\/blog\/anaconda-vs-python-unveiling-the-differences\/\">Anaconda<\/a>, execute:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXc88Fffv34Es1pYhz63XtN-c6TQQmyTnCg9C8qXSSiXidp9jrLFa9dR_RZb6KsapM7rHEhHwKc2M510rFxnCAElFBiirp1yUYlU8waLpc9srXnEDc5HpT4RtQrpkd02HoDfNilkB27yrnl5YUN45yICRa82?key=sZAbo3oTW336ZrlHC5lrcg\" alt=\"Data visualization in Python using Bokeh\"\/><\/figure>\n<\/div>\n\n\n<h3 id=\"step-2-verifying-installation\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_2_Verifying_Installation\"><\/span><strong>Step 2: Verifying Installation<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>To confirm that Bokeh is installed correctly, you can start a Python session and import the library:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXfvnO4X8tvOJQGkmb2EkIC07W2NlFE8zil-d9102VzyBeGYFa9lfejHdVVSS23cPiekAiF-3cxdfQVvmBGfB8ZB8LEdpm4DOgGcLqyCYTlME19SRGyjrZj4xnfKUdcbVAU8QKXimHoHerbQgHBHx0Ln7wKx?key=sZAbo3oTW336ZrlHC5lrcg\" alt=\"Data visualization in Python using Bokeh\"\/><\/figure>\n<\/div>\n\n\n<p>If no errors occur and the version number is displayed, you are ready to create interactive visualisations.<\/p>\n\n\n\n<h3 id=\"step-3-creating-basic-plots-with-bokeh\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_3_Creating_Basic_Plots_with_Bokeh\"><\/span><strong>Step 3: Creating Basic Plots with Bokeh<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Bokeh simplifies the process of creating plots with its intuitive API. Here\u2019s a step-by-step guide to creating a basic line plot.<\/p>\n\n\n\n<h2 id=\"example-creating-a-simple-line-plot\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example_Creating_a_Simple_Line_Plot\"><\/span><strong>Example: Creating a Simple Line Plot<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p><strong>Import Required Libraries<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXe9Y8BqUF48_HUkkgSGjmx02PUz8Vbr_tbvMQfeMYZZ_jvdu55-m6Sc-z2B5cCax8c_cb0SstAgzSHPMbUcBC8yjHwiPKa2TYVR2iFRAP44j6ENNGDNuVk_Jinz4OGS6l2lSDPBeCjyvMX8eUt6I_pb0Mo?key=sZAbo3oTW336ZrlHC5lrcg\" alt=\"Import Required Libraries\"\/><\/figure>\n<\/div>\n\n\n<p><strong>Prepare Data<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXc09wSD1wU1mk6BqdMueR0jdOvb7gamNwBZi2EEaZrc3fOGD311NGzOmtlL9S6j0nxP1BKy583VcOXLnhbauXcb5C9pOA-rJ7dLuWVuM1yzl6XgR7411WFlXx_STgxW23CWH8q_-yRC5i5iJy8rCDM1e5Bt?key=sZAbo3oTW336ZrlHC5lrcg\" alt=\"Prepare Data\"\/><\/figure>\n<\/div>\n\n\n<p><strong>Create a Figure<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXdNn1D33a91Koz3ormuQvcyOmrtilwpdxdNeVhRAWW9CXYFc1Uf1JObrZMPjLCG774XT-YcYLkW--rxEPTPKAivGw-nCCuflozgnvL9TNounpSYDHUNo5ahy-glq26wlxzHUIXnCpwDNfXasziYSS10GPs?key=sZAbo3oTW336ZrlHC5lrcg\" alt=\"Create a Figure\"\/><\/figure>\n<\/div>\n\n\n<p><strong>Add a Line Glyph<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXdxCh0jxuVxXbKFWz4chzkngnediYLUCxULVkHQ13JGIQK6dIT3PsViI9L0nj3kNO_PIDsjSShW3AXLz1ArVb1BTUDrs11WBkCYGZ3dhv8o7wJ8LX5IBXc32Rbxl2zFJ4Ed-9YXzvHjSHF6VK9XYgCmK47J?key=sZAbo3oTW336ZrlHC5lrcg\" alt=\"Add a Line Glyph\"\/><\/figure>\n<\/div>\n\n\n<p><strong>Display the Plot<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXfAUA8e1DFYnJ8OoHSFKvuG-jDr3kxjzZ0_CNQ_dFZ8LQmpzv6hF3mW0bBpdWFaJRr03x_Qa_tGhZO6AJWWP5vpCsCsfZadwPmvQdCFsGff33I7lqXf_SqDQ2XqQMMVfj87lOmN0eUBjpXPYK2MLfHqGiAt?key=sZAbo3oTW336ZrlHC5lrcg\" alt=\"Display the Plot\"\/><\/figure>\n<\/div>\n\n\n<p>This code snippet creates a simple line plot with labelled axes and a title.<\/p>\n\n\n\n<h2 id=\"creating-other-basic-plots\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Creating_Other_Basic_Plots\"><\/span><strong>Creating Other Basic Plots<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Bokeh supports various plot types, including bar charts, scatter plots, and histograms. Here\u2019s a brief overview of how to create a bar chart:<\/p>\n\n\n\n<h2 id=\"example-creating-a-bar-chart\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example_Creating_a_Bar_Chart\"><\/span><strong>Example: Creating a Bar Chart<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p><strong>Prepare Data<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXeEuaH648zldJGfpnLdUBKI39eUHQVnxvg0QgPccO2YBITApj2eQZweNiOwEbyLnJozDvF9grDHUvSaW9Y0g7cD5oMNiCeSOeE9ZzoakB_itO06ij-YhVWCXV5x4eNLVd7FxFL_EPpY7hpcPKfC3PqzARk?key=sZAbo3oTW336ZrlHC5lrcg\" alt=\"Creating a Bar Chart\n\n\"\/><\/figure>\n<\/div>\n\n\n<p><strong>Create a Figure<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXeoFkoaDsSOV24Q3FRBOWrTy72Kz69JXDhNGeWtTm6j4l7hGLyE6wvYfPkmDaUxUiHfYh536oztliboX_P605v3VIsi3C-JEzr9ZUcooysaB5eht72FLuizH2rZnyLoYXq2tdzC4U0xAUzfnINTbwzJLbA?key=sZAbo3oTW336ZrlHC5lrcg\" alt=\"Data visualization in Python using Bokeh\"\/><\/figure>\n<\/div>\n\n\n<p><strong>Add a Bar Glyph<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXf0FVRkEplODyKEnO6rOilpztVGioUk3Yava6w2NDNvlIDjvMkPWTGUPzeALHbublJ-vRaR0X3vfESH14W-fwLrXG5VpJNCs3uckfr_XCK_bKcP1DJc01ZQiBUHDQm2N-Mp5NelIL7b2NfezfOwqtDBYOBZ?key=sZAbo3oTW336ZrlHC5lrcg\" alt=\"Add a Bar Glyph\"\/><\/figure>\n<\/div>\n\n\n<p><strong>Display the Plot<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXcZj3h0k0l_wWutDsQhdBhvDMpBYd82UjWy1113w9hkxdzvNh-wrG7NgWJ9mEQAsORCk0CSoKV1dubWcIju4Qw5v-cR1MrYPDS50Y-uZ3JZ3hL9ROJdPqlbNsIn_sUxfGRQn2hrWe3uTotV-qoBCCr5eWzK?key=sZAbo3oTW336ZrlHC5lrcg\" alt=\"Display the Plot\"\/><\/figure>\n<\/div>\n\n\n<h2 id=\"advanced-plotting-with-bokeh\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Advanced_Plotting_with_Bokeh\"><\/span><strong>Advanced Plotting with Bokeh<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Once you are comfortable with basic plots, it offers advanced features to create more complex visualisations.<\/p>\n\n\n\n<h3 id=\"customising-plots\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Customising_Plots\"><\/span><strong>Customising Plots<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Bokeh allows extensive customization of plots. You can modify colours, add legends, and change axis properties. Here\u2019s how to customise a plot:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXcadToLnOn4M85AUGqQQAtZcapXCCZ94eREk33NoCgJmCAX2vMuNqgj3aNRqPH496ktCbRARYi0L2IcScSX6lVSnYy-_qOKtlF4WcBLdJNjCXOkGDIYVRL59RbMhAnh1Dodwhddmb_f7yyEoPTaXc76U3e7?key=sZAbo3oTW336ZrlHC5lrcg\" alt=\"Data visualization in Python using Bokeh\"\/><\/figure>\n<\/div>\n\n\n<h3 id=\"adding-annotations\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Adding_Annotations\"><\/span><strong>Adding Annotations<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Annotations can provide additional context to your plots. You can add text labels or arrows to highlight specific data points.<\/p>\n\n\n\n<h2 id=\"example-adding-annotations\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example_Adding_Annotations\"><\/span><strong>Example: Adding Annotations<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXc7xgMrc-F5uEMRJrRvNsY1iSvmHLMwKhYwRNbO167wRBF5zY4d17kD8XgO64EFq0iwYW81EjeIDs6T7DpCFZ92IDRWKUO8NXRXv66Y-QeUHaZs8U2XpBajzE4imQ81a_Yx_Y2nWo7xygoATe3HaurPSXiv?key=sZAbo3oTW336ZrlHC5lrcg\" alt=\"Data visualization in Python using Bokeh\"\/><\/figure>\n<\/div>\n\n\n<h3 id=\"creating-interactive-widgets\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Creating_Interactive_Widgets\"><\/span><strong>Creating Interactive Widgets<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Bokeh supports interactive widgets, allowing users to manipulate the data displayed in real-time. You can use sliders, dropdowns, and buttons to enhance user engagement.<\/p>\n\n\n\n<h2 id=\"example-using-a-slider\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example_Using_a_Slider\"><\/span><strong>Example: Using a Slider<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXcYpjJmuOD-h8F9IsFJSeJrZhDRHN7Y519DOYeJ_EY_CtgkKnzGIXN0YIuP0uUuqQu7s8yyCabD195bd-EgIkgYJW28z10gMyTIyHK7WBm9Cvn01j0hD_yDSiM1rahhEQ7g4AV78ErHZjh8Bd36twFGGfwV?key=sZAbo3oTW336ZrlHC5lrcg\" alt=\"Data visualization in Python using Bokeh\"\/><\/figure>\n<\/div>\n\n\n<p><strong>Layouts and Grids<\/strong><\/p>\n\n\n\n<p>Bokeh allows you to arrange multiple plots and widgets in a grid layout, making it easy to create dashboards.<\/p>\n\n\n\n<h2 id=\"example-creating-a-grid-layout\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example_Creating_a_Grid_Layout\"><\/span><strong>Example: Creating a Grid Layout<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXeoLB7VF6el0b1RN9wz4UcYLKM5GCMs2wkpiSmHHJ7OL9LHXCkHqWN6bUgfFs6UGFc6HRbklJEE3tCFjHMpj1GsNvFPz4tYm1Y1Qic9EIxARb_MUo42zP0D9qdB_wPekBFSWrEEiq6DeF5Z8tR91br8olG_?key=sZAbo3oTW336ZrlHC5lrcg\" alt=\"Data visualization using Bokeh\"\/><\/figure>\n<\/div>\n\n\n<h2 id=\"real-world-application-example\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Real-World_Application_Example\"><\/span><strong>Real-World Application Example<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Bokeh is widely used in various industries for data visualisation. One notable application is in the field of finance, where analysts use Bokeh to create interactive dashboards that display real-time stock market data.<\/p>\n\n\n\n<h3 id=\"example-financial-dashboard\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example_Financial_Dashboard\"><\/span><strong>Example: Financial Dashboard<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>In a financial dashboard, it can be used to visualise stock prices, trading volumes, and market trends. Users can interact with the dashboard to filter data by date ranges, compare multiple stocks, and view historical performance.<\/p>\n\n\n\n<h2 id=\"implementation-steps\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Implementation_Steps\"><\/span><strong>Implementation Steps<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Data Acquisition: <\/strong>Use APIs to fetch real-time stock data.<\/li>\n\n\n\n<li><strong>Data Processing: <\/strong>Clean and preprocess the data using Pandas.<\/li>\n\n\n\n<li><strong>Visualisation: <\/strong>Create interactive plots using Bokeh to display stock prices and trading volumes.<\/li>\n\n\n\n<li><strong>Deployment: <\/strong>Embed the dashboard in a web application for users to access.<\/li>\n<\/ul>\n\n\n\n<h2 id=\"tips-and-best-practices\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Tips_and_Best_Practices\"><\/span><strong>Tips and Best Practices<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Explore essential tips and best practices for using Bokeh effectively. From optimising performance to enhancing visual aesthetics, these guidelines will help you create stunning, interactive visualisations that engage your audience and convey your data&#8217;s story clearly.<\/p>\n\n\n\n<p>To make the most of Bokeh, consider the following tips and best practices:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Choose the Right Plot Type: <\/strong>Select the plot type that best represents your data. Consider factors like data distribution, relationships between variables, and the desired level of detail.<\/li>\n\n\n\n<li><strong>Use Appropriate Colour Schemes:<\/strong> Choose colour schemes that are visually appealing, easy to distinguish, and accessible to people with colour vision deficiencies.<\/li>\n\n\n\n<li><strong>Label Axes and Add Titles:<\/strong> Clear and concise labels and titles make your plots easier to understand.<\/li>\n\n\n\n<li><strong>Optimise for Performance:<\/strong> For large datasets or complex visualisations, consider techniques like downsampling, aggregation, or using Bokeh&#8217;s tools for performance optimization.<\/li>\n\n\n\n<li><strong>Leverage Bokeh&#8217;s Interactivity:<\/strong> Utilise Bokeh&#8217;s interactive features, such as zooming, panning, and tooltips, to provide a richer user experience.<\/li>\n\n\n\n<li><strong>Consider Accessibility<\/strong>: Ensure your visualisations are accessible to people with disabilities by following accessibility guidelines and using appropriate colour contrasts.<\/li>\n\n\n\n<li><strong>Use Bokeh&#8217;s Built-in Widgets:<\/strong> Take advantage of Bokeh&#8217;s widgets (e.g., sliders, buttons, dropdowns) to allow users to interact with and customise your visualisations.<\/li>\n\n\n\n<li><strong>Test and Iterate: <\/strong>Create prototypes, test your visualisations with different datasets and user groups, and iterate to refine the design and functionality.<\/li>\n<\/ul>\n\n\n\n<h2 id=\"conclusion\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span><strong>Conclusion<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Bokeh is a powerful tool for creating interactive and visually appealing data visualisations in Python. Its flexibility, ease of use, and ability to integrate with web applications make it an excellent choice for Data Analysts and developers alike.&nbsp;<\/p>\n\n\n\n<p>By mastering it, you can transform complex datasets into insightful visual narratives that engage and inform your audience.<\/p>\n\n\n\n<h2 id=\"frequently-asked-questions\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Frequently_Asked_Questions\"><\/span><strong>Frequently Asked Questions<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 id=\"what-is-bokeh-used-for\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_is_Bokeh_Used_For\"><\/span><strong>What is Bokeh Used For?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>It is used for creating interactive data visualisations in Python. It is particularly suited for web applications, allowing users to explore data dynamically through various plot types, including line graphs, bar charts, and scatter plots.<\/p>\n\n\n\n<h3 id=\"how-do-i-install-bokeh\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_do_I_Install_Bokeh\"><\/span><strong>How do I Install Bokeh?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>You can install it using pip by running pip install bokeh in your terminal. Alternatively, if you use Anaconda, you can install it with conda install bokeh. Verify the installation by importing Bokeh in Python.<\/p>\n\n\n\n<h3 id=\"can-i-create-dashboards-with-bokeh\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Can_I_Create_Dashboards_with_Bokeh\"><\/span><strong>Can I Create Dashboards with Bokeh?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Yes, Bokeh allows you to create interactive dashboards by combining multiple plots and widgets. You can arrange these elements using layouts and grids, making it easy to present complex data in an accessible format for users.<\/p>\n","protected":false},"excerpt":{"rendered":"Explore Bokeh for interactive data visualisations and seamless web integration.\n","protected":false},"author":29,"featured_media":14287,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1883],"tags":[2901,2162,2197,2902,2220],"ppma_author":[2219,2633],"class_list":{"0":"post-14278","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-data-visualization","8":"tag-bokeh","9":"tag-data-science","10":"tag-data-visualization","11":"tag-features-of-bokeh","12":"tag-python"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Python - Interactive Data Visualisation using Bokeh<\/title>\n<meta name=\"description\" content=\"Explore Bokeh: Python Library for Interactive Visualisations, Embedding Plots, and Enhancing Data Storytelling with Comprehensive Features.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Bokeh: A Comprehensive Guide to Interactive Data Visualisation\" \/>\n<meta property=\"og:description\" content=\"Explore Bokeh: Python Library for Interactive Visualisations, Embedding Plots, and Enhancing Data Storytelling with Comprehensive Features.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/\" \/>\n<meta property=\"og:site_name\" content=\"Pickl.AI\" \/>\n<meta property=\"article:published_time\" content=\"2024-08-30T12:06:18+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-05T05:35:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.pickl.ai\/blog\/wp-content\/uploads\/2024\/08\/Bokeh.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Aashi Verma, Jogith Chandran\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Aashi Verma\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/bokeh-interactive-data-visualisation\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/bokeh-interactive-data-visualisation\\\/\"},\"author\":{\"name\":\"Aashi Verma\",\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/#\\\/schema\\\/person\\\/8d771a2f91d8bfc0fa9518f8d4eee397\"},\"headline\":\"Bokeh: A Comprehensive Guide to Interactive Data Visualisation\",\"datePublished\":\"2024-08-30T12:06:18+00:00\",\"dateModified\":\"2024-09-05T05:35:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/bokeh-interactive-data-visualisation\\\/\"},\"wordCount\":1142,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/bokeh-interactive-data-visualisation\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/Bokeh.jpg\",\"keywords\":[\"Bokeh\",\"Data science\",\"data visualization\",\"Features of Bokeh\",\"python\"],\"articleSection\":[\"Data Visualization\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/bokeh-interactive-data-visualisation\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/bokeh-interactive-data-visualisation\\\/\",\"url\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/bokeh-interactive-data-visualisation\\\/\",\"name\":\"Python - Interactive Data Visualisation using Bokeh\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/bokeh-interactive-data-visualisation\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/bokeh-interactive-data-visualisation\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/Bokeh.jpg\",\"datePublished\":\"2024-08-30T12:06:18+00:00\",\"dateModified\":\"2024-09-05T05:35:57+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/#\\\/schema\\\/person\\\/8d771a2f91d8bfc0fa9518f8d4eee397\"},\"description\":\"Explore Bokeh: Python Library for Interactive Visualisations, Embedding Plots, and Enhancing Data Storytelling with Comprehensive Features.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/bokeh-interactive-data-visualisation\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/bokeh-interactive-data-visualisation\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/bokeh-interactive-data-visualisation\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/Bokeh.jpg\",\"contentUrl\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/Bokeh.jpg\",\"width\":1200,\"height\":628,\"caption\":\"Bokeh\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/bokeh-interactive-data-visualisation\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Data Visualization\",\"item\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/category\\\/data-visualization\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Bokeh: A Comprehensive Guide to Interactive Data Visualisation\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/\",\"name\":\"Pickl.AI\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/#\\\/schema\\\/person\\\/8d771a2f91d8bfc0fa9518f8d4eee397\",\"name\":\"Aashi Verma\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/pickl.ai\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/avatar_user_29_1723028535-96x96.jpg3fe02b5764d08ea068a95dc3fc5a3097\",\"url\":\"https:\\\/\\\/pickl.ai\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/avatar_user_29_1723028535-96x96.jpg\",\"contentUrl\":\"https:\\\/\\\/pickl.ai\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/avatar_user_29_1723028535-96x96.jpg\",\"caption\":\"Aashi Verma\"},\"description\":\"Aashi Verma has dedicated herself to covering the forefront of enterprise and cloud technologies. As an Passionate researcher, learner, and writer, Aashi Verma interests extend beyond technology to include a deep appreciation for the outdoors, music, literature, and a commitment to environmental and social sustainability.\",\"url\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/author\\\/aashiverma\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Python - Interactive Data Visualisation using Bokeh","description":"Explore Bokeh: Python Library for Interactive Visualisations, Embedding Plots, and Enhancing Data Storytelling with Comprehensive Features.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/","og_locale":"en_US","og_type":"article","og_title":"Bokeh: A Comprehensive Guide to Interactive Data Visualisation","og_description":"Explore Bokeh: Python Library for Interactive Visualisations, Embedding Plots, and Enhancing Data Storytelling with Comprehensive Features.","og_url":"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/","og_site_name":"Pickl.AI","article_published_time":"2024-08-30T12:06:18+00:00","article_modified_time":"2024-09-05T05:35:57+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/www.pickl.ai\/blog\/wp-content\/uploads\/2024\/08\/Bokeh.jpg","type":"image\/jpeg"}],"author":"Aashi Verma, Jogith Chandran","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Aashi Verma","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/#article","isPartOf":{"@id":"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/"},"author":{"name":"Aashi Verma","@id":"https:\/\/www.pickl.ai\/blog\/#\/schema\/person\/8d771a2f91d8bfc0fa9518f8d4eee397"},"headline":"Bokeh: A Comprehensive Guide to Interactive Data Visualisation","datePublished":"2024-08-30T12:06:18+00:00","dateModified":"2024-09-05T05:35:57+00:00","mainEntityOfPage":{"@id":"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/"},"wordCount":1142,"commentCount":0,"image":{"@id":"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/#primaryimage"},"thumbnailUrl":"https:\/\/www.pickl.ai\/blog\/wp-content\/uploads\/2024\/08\/Bokeh.jpg","keywords":["Bokeh","Data science","data visualization","Features of Bokeh","python"],"articleSection":["Data Visualization"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/","url":"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/","name":"Python - Interactive Data Visualisation using Bokeh","isPartOf":{"@id":"https:\/\/www.pickl.ai\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/#primaryimage"},"image":{"@id":"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/#primaryimage"},"thumbnailUrl":"https:\/\/www.pickl.ai\/blog\/wp-content\/uploads\/2024\/08\/Bokeh.jpg","datePublished":"2024-08-30T12:06:18+00:00","dateModified":"2024-09-05T05:35:57+00:00","author":{"@id":"https:\/\/www.pickl.ai\/blog\/#\/schema\/person\/8d771a2f91d8bfc0fa9518f8d4eee397"},"description":"Explore Bokeh: Python Library for Interactive Visualisations, Embedding Plots, and Enhancing Data Storytelling with Comprehensive Features.","breadcrumb":{"@id":"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/#primaryimage","url":"https:\/\/www.pickl.ai\/blog\/wp-content\/uploads\/2024\/08\/Bokeh.jpg","contentUrl":"https:\/\/www.pickl.ai\/blog\/wp-content\/uploads\/2024\/08\/Bokeh.jpg","width":1200,"height":628,"caption":"Bokeh"},{"@type":"BreadcrumbList","@id":"https:\/\/www.pickl.ai\/blog\/bokeh-interactive-data-visualisation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.pickl.ai\/blog\/"},{"@type":"ListItem","position":2,"name":"Data Visualization","item":"https:\/\/www.pickl.ai\/blog\/category\/data-visualization\/"},{"@type":"ListItem","position":3,"name":"Bokeh: A Comprehensive Guide to Interactive Data Visualisation"}]},{"@type":"WebSite","@id":"https:\/\/www.pickl.ai\/blog\/#website","url":"https:\/\/www.pickl.ai\/blog\/","name":"Pickl.AI","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.pickl.ai\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.pickl.ai\/blog\/#\/schema\/person\/8d771a2f91d8bfc0fa9518f8d4eee397","name":"Aashi Verma","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/08\/avatar_user_29_1723028535-96x96.jpg3fe02b5764d08ea068a95dc3fc5a3097","url":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/08\/avatar_user_29_1723028535-96x96.jpg","contentUrl":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/08\/avatar_user_29_1723028535-96x96.jpg","caption":"Aashi Verma"},"description":"Aashi Verma has dedicated herself to covering the forefront of enterprise and cloud technologies. As an Passionate researcher, learner, and writer, Aashi Verma interests extend beyond technology to include a deep appreciation for the outdoors, music, literature, and a commitment to environmental and social sustainability.","url":"https:\/\/www.pickl.ai\/blog\/author\/aashiverma\/"}]}},"jetpack_featured_media_url":"https:\/\/www.pickl.ai\/blog\/wp-content\/uploads\/2024\/08\/Bokeh.jpg","authors":[{"term_id":2219,"user_id":29,"is_guest":0,"slug":"aashiverma","display_name":"Aashi Verma","avatar_url":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/08\/avatar_user_29_1723028535-96x96.jpg","first_name":"Aashi","user_url":"","last_name":"Verma","description":"Aashi Verma has dedicated herself to covering the forefront of enterprise and cloud technologies. As an Passionate researcher, learner, and writer, Aashi Verma interests extend beyond technology to include a deep appreciation for the outdoors, music, literature, and a commitment to environmental and social sustainability."},{"term_id":2633,"user_id":46,"is_guest":0,"slug":"jogithschandran","display_name":"Jogith Chandran","avatar_url":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/07\/avatar_user_46_1722419766-96x96.jpg","first_name":"Jogith","user_url":"","last_name":"Chandran","description":"Jogith S Chandran has joined our organization as an Analyst in Gurgaon. He completed his Bachelors IIIT Delhi in CSE this summer. He is interested in NLP, Reinforcement Learning, and AI Safety. He has hobbies like Photography and playing the Saxophone."}],"_links":{"self":[{"href":"https:\/\/www.pickl.ai\/blog\/wp-json\/wp\/v2\/posts\/14278","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pickl.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pickl.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pickl.ai\/blog\/wp-json\/wp\/v2\/users\/29"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pickl.ai\/blog\/wp-json\/wp\/v2\/comments?post=14278"}],"version-history":[{"count":7,"href":"https:\/\/www.pickl.ai\/blog\/wp-json\/wp\/v2\/posts\/14278\/revisions"}],"predecessor-version":[{"id":14415,"href":"https:\/\/www.pickl.ai\/blog\/wp-json\/wp\/v2\/posts\/14278\/revisions\/14415"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.pickl.ai\/blog\/wp-json\/wp\/v2\/media\/14287"}],"wp:attachment":[{"href":"https:\/\/www.pickl.ai\/blog\/wp-json\/wp\/v2\/media?parent=14278"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pickl.ai\/blog\/wp-json\/wp\/v2\/categories?post=14278"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pickl.ai\/blog\/wp-json\/wp\/v2\/tags?post=14278"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.pickl.ai\/blog\/wp-json\/wp\/v2\/ppma_author?post=14278"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}