4 ms·
Actually, we'd LOVE to get a bokeh.rb project going! Most of the power of Bokeh is in the BokehJS runtime, and in our M-VM-V-C architecture for visualization.
by pwang 11y ago
Actually, we'd LOVE to get a bokeh.rb project going! Most of the power of Bokeh is in the BokehJS runtime, and in our M-VM-V-C architecture for visualization. The Python code is just generating a JSON representation of the plot, but it's relatively straightforward to do that from any language. You can see front-end implementations in other languages:
* R: https://github.com/bokeh/rbokeh https://github.com/bokeh/rbokeh
* Scala: https://github.com/bokeh/bokeh-scala https://github.com/bokeh/bokeh-scala
* Julia: https://github.com/bokeh/Bokeh.jl https://github.com/bokeh/Bokeh.jl
The Facebook data science folks even implemented a small Bokeh wrapper in Lua, as part of their iTorch package: https://github.com/facebook/iTorch/blob/master/Plot.lua https://github.com/facebook/iTorch/blob/master/Plot.lua
So, you can see that you can get started with a basic wrapper, and then build up from there. The Lua wrapper is only ~850 lines. If you want to pop over to the mailing list or on our Github, we'd love to help you out.