Getting started with Bokeh

What is Bokeh? Bokeh is a neat Python library that allows us to quickly and easily create high-performance, professional interactive data visualisations and web apps. You can check out some examples of the power and range of what Bokeh can do here. You can explore the variety of glyphs we are able to choose from, and their associated attributes, here. Bokeh also comes inbuilt with its own data format, the ColumnDataSource. This forms the fundamental underlying data structure used by Bokeh objects. In fact, when we supply lists, NumPy arrays, or pandas DataFrames to Bokeh, these are implicitly converted to ColumnDataSource objects behind the scenes. ColumnDataSources make it easy to share data between glyphs and link the selected data, as well as allowing us to supply additional data, which, as we will see later, can be used to add annotations to our visualisation.

Comments