Interactive Data Visualization with Python using Bokeh

Difficulty: Intermediate
Duration: 3 minutes and 44 seconds
Students: 397
Rating: 4/5

Bokeh is an interactive visualization library in Python that provides visual artefacts for modern web browsers. In this lesson, we're going to have a look at the fundamental tools that are necessary to build interactive plots in Python using Bokeh.

Bokeh exposes two interface levels to users: bokeh.plotting and bokeh.models, and this lesson will focus mainly on the bokeh.plotting interface. 

We'll start things off by exploring two key concepts in Bokeh: Column Data Source and Glyphs. Then we'll move on to looking at different aspects related to the customization of a bokeh plot, as well as focusing on how to introduce interactivity into a Bokeh object.

You'll also learn about using inspectors to report information about the plot and we'll also investigate different ways to plot multiple Bokeh objects in one figure. We'll round off the lesson by looking at plot methods for categorical variables.

Learning Objectives

  • Learn about Columns Data Sources and Glyphs in Bokeh and how they are used
  • Learn how to customize your plots and add interactivity to them
  • Understand how inspectors can be added to plots to provide additional information
  • Learn how to plot multiple Bokeh objects in one figure
  • Understand the plot methods available for categorical variables

Intended Audience

  • Data scientists
  • Anyone looking to build interactive plots in Python using Bokeh

Prerequisites

To get the most out of this lesson, you should have a good understanding of Python. Before taking this lesson, we also recommend taking our Data Visualization with Python using Matplotlib lesson.

Resources

The GitHub repo for this lesson can be found here: https://github.com/cloudacademy/interactive-data-visualization-with-bokeh