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...