What is Bokeh ?
The main libraries to perfom visualization with the python programming language are:For quick visualisation and exploratory analysis it is usualy easier to use matplotlib and seaborn. These two libraries compared to Plotly and Bokeh are not build on javascript and therefore do not allow interactive plotting.
With Bokeh, you can create JavaScript-powered visualizations without having to write javascript, it's the ideal candidates to create beautiful charts for a report or dashboard when interactive and dynamic visualisation are required.
Getting started
- We assume you already have python>3.6 running on your machine. If you don't have it go ahead and install it using this tutorial .
- Bokeh must be installed on your machine.
- For this tutorial we will be using data from Transport of London, which is freely available on their website.
- Any issue, suggestion or question reach out to me.
Visualizing the data
Let's import the required function from bokehLine plots with Bokeh
Visualize the volume of exit on a given date over the day for three stations: Vauxhall, Brixton and Stockwell.
Conclusion
In this tutorial we learnt how to visualize data with an interactive visualization library Bokeh by using:- Pie chart
- Heatmap
- Line plot
- Histogram
- Barplot