Dark theme

Data processing


Bokeh (meaning!), is a Python library that produces JavaScript-centred webpages containing nice looking displays. These run using a companion JavaScript library. If you're familiar with JavaScript and HTML you can embed these in other pages, joining the circle between Python data analysis and the web, along with things like web-based GIS systems.

To get familiar with bokeh, you can do no better than work through the great tutorials on the bokeh website. Start with the quickstart tutorial. Bokeh should be installed with Anaconda, so no need to install it separately, even though conda. You can run it from Jupyter if you like (indeed, the tutorials talk about Jupyter). Note that you may find Jupyter opens up the page and separately opens it up as source code (if you find the page doesn't display, try opening it in a different web browser). Give it a go.


Once you've worked through the quickstart, there are a wide range of tutorials as notebooks, but the handbook also has a wide variety of code samples on each page. You may be specifically interested in Mapping Geo Data (notebook); Adding Interactions (notebook); and the guide to direct programming with JavaScript

Other than that, we're done for this practical.


  1. This page
  2. Bokeh <-- next