Saturday 10:30 a.m.–12:20 p.m.

Bokeh: Interactive Data Visualization in Python (Tutorial)

Steven C. Howell

Audience level:
Intermediate

Description

Bokeh is a powerful library for creating interactive data visualizations in the style of D3.js without writing JavaScript. In this tutorial, you will learn to use Bokeh to

  • create simple interactive plots, both from scripts and Jupyter notebooks
  • link interactive visualizations to a running python instance
  • plot streamed data
  • interactively view large datasets with Datashader

Abstract

"A picture is worth a thousand words." Data visualization is key to understanding the information contained in data. Interactive visualizations provide a valuable means for students, data journalist, engineers, and scientist to explore their data. Bokeh provides a Python API for creating elegant plots, dashboards, and data applications in the style of D3.js, without having to write any JavaScript.

This tutorial will introduce students to the basics of using Bokeh, demonstrate different aspects of the library, and teach students how to get the answers to questions that arise as they apply what they have learned to their own data. We will cover the following four examples:

  • using Bokeh to create simple interactive plots, both from a script and from a Jupyter notebook
  • using Bokeh server to link interactive visualizations to a running python instance
  • steaming data to a Bokeh plot
  • partnering Bokeh with Datashader to interactively view large datasets

For each of these topics, students will be given exercises to apply what they have learned and further explore the Bokeh API.

Setup Instructions

https://github.com/StevenCHowell/pyohio_2017_bokeh#setup

(Be sure to "git pull" the evening before or the morning of the session)