Skip main navigation

What is Bokeh?

Video on bokeh

Watch the video to learn more about what Bokeh is, when it’s used and why it is used.

When to use Bokeh?

More often than not these days, your visualisations will be displayed on the web. With most web pages now supporting rich and interactive media, static visualisations can seem out of place. This is where Bokeh comes in.

Bokeh can be used to create plots with figures and charts from data and can be automatically created into web pages consisting of your charts and made interactive.

As you would have seen in the video, Bokeh works like Matplotlib in that you can create plots with figures and charts from data. But, it goes a step further by automatically creating web pages that can contain the charts and make them interactive. This includes generating the HTML to display data and the Javascript to allow interaction.

In its simplest use, Bokeh can create static HTML pages with interactive plots in them. Without too much configuration, you’ll be able to provide your readers with charts that can be panned and zoomed to examine data much more intuitively.

But, Bokeh goes beyond that!

By using Bokeh server, you can build interfaces that allow the user to query and filter data from a database and let them perform their own comparisons or drill down into the data that is most interesting to them. To get an idea of what Bokeh can build in a context specific to you, you can browse the Bokeh gallery in the link here.

Interact: Bokeh demo gallery [1]


  1. Gallery [Document]. Bokeh; [date unknown]. Available from:
This article is from the free online

Data Visualisation with Python: Bokeh and Advanced Layouts

Created by
FutureLearn - Learning For Life

Reach your personal and professional goals

Unlock access to hundreds of expert online courses and degrees from top universities and educators to gain accredited qualifications and professional CV-building certificates.

Join over 18 million learners to launch, switch or build upon your career, all at your own pace, across a wide range of topic areas.

Start Learning now