Contribute Media
A thank you to everyone who makes this possible: Read More

Getting started with Bokeh / Let's build an interactive data visualization for the web..in Python!

Translations: en

Description

Sarah Bird - Getting started with Bokeh / Let's build an interactive data visualization for the web..in Python! [EuroPython 2015] [20 July 2015] [Bilbao, Euskadi, Spain]

Slides: [birdsarah.github.io/europython-2015-bokeh][1]

As a web developer, I find myself being asked to make increasing numbers of data visualizations, interactive infographics, and more. d3.js is great, as are many other javascript toolkits that are out there. But if I can write more Python and less JavaScript... well, that makes me happy!

Bokeh is a new Python library for interactive visualization. Its origins are in the data science community, but it has a lot to offer web developers. In this mini-tutorial, I'll run through how to build a data visualization in Bokeh and how to hook it into your web application. This will be a real-world example, that was previously built in d3.js.

Along the way, I'll provide tips and tricks that I've discovered in my experience including how Bokeh works wonderfully with the iPython notebook which I use to prototype my visualizations, and many data science people use as their native way to explore data.

For those of you who already know a little Bokeh, I'll be covering the new "actions framework" that lets you write JS callbacks in your python code so you can do lots of interactions all on the client side.

[1]: http://birdsarah.github.io/europython-2015-bokeh/

Details

Improve this page