Chris Myers
Cornell Center for Advanced Computing

12/2023 (original)

Bokeh server is a system for using the Bokeh Application Programming Interface (API) and associated tools in order to be able to modify what gets plotted and how data are plotted, as well as to leverage Graphical User Interfaces (GUIs) to customize data analyses and visualizations. Bokeh server allows one to write Python callback functions that respond to user interactions in order to modify plots and data analyses. The same Bokeh server code can be used by a single person running in a local browser, or by an organization to serve up visualization applications on the Internet through a public webserver. As such, Bokeh server can support the deployment of rich data dashboards to support a number of data analysis and visualization tasks.

Objectives

After you complete this segment, you should be able to:

  • Discuss the general architecture and use of Bokeh server
  • Describe different Bokeh server use cases
  • Understand how to write callback functions and associate them with elements of the user interface
  • Identify some of the subtleties of file I/O when using Bokeh server
Prerequisites

General familiarity with the Python programming language would be useful, but is not required. In addition, if you wish to run some of the code examples presented here, you will need to have a working Python installation with Bokeh and a few other packages installed. See the section on Installing & Running Bokeh for more information.

 
©  |   Cornell University    |   Center for Advanced Computing    |   Copyright Statement    |   Inclusivity Statement