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]

References

  1. Gallery [Document]. Bokeh; [date unknown]. Available from: https://docs.bokeh.org/en/latest/docs/gallery.html
This article is from the free online

Data Visualisation with Python: Bokeh and Advanced Layouts

Created by
FutureLearn - Learning For Life

Our purpose is to transform access to education.

We offer a diverse selection of courses from leading universities and cultural institutions from around the world. These are delivered one step at a time, and are accessible on mobile, tablet and desktop, so you can fit learning around your life.

We believe learning should be an enjoyable, social experience, so our courses offer the opportunity to discuss what you’re learning with others as you go, helping you make fresh discoveries and form new ideas.
You can unlock new opportunities with unlimited access to hundreds of online short courses for a year by subscribing to our Unlimited package. Build your knowledge with top universities and organisations.

Learn more about how FutureLearn is transforming access to education