BokehJS is the in-browser client-side runtime library that users of Bokeh ultimately interact with. This library is written primarily in CoffeeScript and is one of the very unique things about the Bokeh plotting system.
While it is possible in principle to construct plots using only BokehJS models directly, this would be somewhat tedious. Work is ongoing to create higher level integrations and interfaces for BokehJS.
The full BokehJS interface is described detail in BokehJS Reference
BokehJS ships with all of its vendor dependencies built in. For reference, the vendor libraries that BokehJS includes are:
These examples currently use an old, deprecated engineering JS interface that has since been removed. Work is ongoing to create a new interface and update these examples.
Several live examples that demonstrate the BokehJS interface are available on JSFiddle. Click on “CoffeeScript” to see the code that generates these plots, or on “Edit in JSFiddle” to fork and create your own examples.
This example shows a scatter plot where every circle has its own radius and color.
This example shows a 2D projection of the Lorenz attractor. Sections of the line are color-coded by time.
This example shows how it it possible to animate BokehJS plots by updating the data source.