I’ve just implemented a very basic Bokeh extension of pivottable.js.
It’s aimed a Panel but I believe it would work well for bokeh users as well (have not tested though).
You can try it via
from awesome_panel_extensions.bokeh_extensions.pivot_table import PivotTable.
If someone want’s to take this further in a Bokeh context you are welcome to start from my code
If you want to try it out in Panel check it out via the buttons below.