3 ms·
Better D3 integration from within Python would be awesome.
by primelens 14y ago
Better D3 integration from within Python would be awesome.
- coldtea 14y agoWhy, is there ANY D3 integration with Python?
- pwang 14y agohttps://github.com/mikedewar/d3py https://github.com/mikedewar/d3py
- paddy_m 14y agoBokeh has three components. BokehJS runs in the browser, the Bokeh server and the Bokeh Python client library. BokehJS draws plots in the browser with canvas. BokehJS maintains a data model of plot models (plots, renederers of different types, tools) with Backbone JS. It has a a connection to the Bokeh server via web sockets. The Bokeh server keeps track of plot objects and other models with redis. It keeps these persistently in documents. The python client connects to the server and either create new plots or updates existing plots. You can create a plot with python and get a url to embed that plot in any web page. This means that your python code can just be a script that doesn't have to worry about serving up a web page. We intend to write client libraries in other languages like java, R, and ruby to name a few.
- siddboots 14y agoSo... the server would maintain a set of grammar-of-graphics-like objects, which would be replicated as backbone models? In theory we could use whichever graphics libraries we want on top the backbone layer, right? Bokeh is starting to sound like everything I've ever wanted.