Live data from Hacker News

Bokeh – Interactive web visualization library in Python

bokeh.pydata.org

1–10 of 66 posts

Re: Bokeh – Interactive web visualization library in Python

#4

Has anyone used it in production ? I would be very interested to hear about interoperability potential with other platforms - some json-based protocol perhaps? In D3 I can just point it to csv and do whatever I need to. Is it just as easy in BokehJS?

We will be adding stream datasources (which allow pulling from 3rd party jsonp feeds) for bokeh 0.4. We expect to release bokeh 0.4 in early 2014.

It is incredibly easy to use bokeh from python. The burtin example in the gallery reads from CSV http://bokeh.pydata.org/plot_gallery/burtin_example.html . Scroll down a bit, and you can see the code.

I am a bokeh dev at Continuum Analytics.

Re: Bokeh – Interactive web visualization library in Python

#5
post #2

It's nice, I've heard of it a while ago. But I just had a crazy thought of combining this with UTFGrid for interacting with data points, but that's probably silly :)

No - that's not crazy at all.

In fact we are working on (and open sourcing) similar ideas

http://www.youtube.com/watch?v=b0-4xtFeaT8

Re: Bokeh – Interactive web visualization library in Python

#7
As a photographer, I gotta say I really love the name. :)

For those who aren't photography nerds, "bokeh" is a Japanese word that means the out-of-focus areas in a photograph. Different lenses have different kinds of bokeh, and beautiful or ugly bokeh is an important dividing line between good and bad lenses.

Re: Bokeh – Interactive web visualization library in Python

#8
post #7

As a photographer, I gotta say I really love the name. :) For those who aren't photography nerds, "bokeh" is a Japanese word that means the out-of-focus areas in a photograph. Different lenses have different kinds of bokeh, and beautiful or ugly bokeh is an important dividing line between good and bad lenses.

I didn't realise "bokeh" was a Japanese word. That's really cool. Seems like it uses this kanji 暈 [1] meaning "corona" or "halo" (in turn made up of the "sun" kanji, "car" kanji and "crown" radical–I'm not sure if there's a historical reason for this but it makes it easy to remember at least).

[1] http://jisho.org/kanji/details/暈

Re: Bokeh – Interactive web visualization library in Python

#9
As a "database guy" who uses Python for most things not bash, is this an approach for viz apps that would eliminate (most) of the need to muck about in JavaScript?

D3 and its children produce some awesome visualizations, but the bandwidth does not exist for me to begin developing apps in a language I don't have much experience in.

If something like Bokeh allows me to live mostly in Python, it becomes even more interesting.

Re: Bokeh – Interactive web visualization library in Python

#10
post #9

As a "database guy" who uses Python for most things not bash, is this an approach for viz apps that would eliminate (most) of the need to muck about in JavaScript? D3 and its children produce some awesome visualizations, but the bandwidth does not exist for me to begin developing apps in a language I don't have much experience in. If something like Bokeh allows me to live mostly in Python, it becomes even more intere…

That is exactly the point of bokeh. It allows you to write python code and get browser based plots. Currently we have a python interface, but we intend to build interfaces in other langauges. Look at the examples gallery, which include the code needed to generate the plots. http://bokeh.pydata.org/gallery.html

A relatively simple plot (scroll down to see the code): http://bokeh.pydata.org/plot_gallery/correlation.html

The simplest example plot in the repo: https://github.com/ContinuumIO/bokeh/blob/master/examples/pl...

Post reply on HN