How to build a pivot table in a standalone file?

Sounds like you’re on the right track.

See this example of how I “import” additional JS Resources into a bokeh html output so you have access to them in callbacks:

The rest is just google-fu and trial and error/riding the struggle bus on the JS side. D3 is an insanely powerful library but my pandas/sql-based intuition/thought process is repeatedly shot down by it :sweat_smile: , that’s why I suggested trying alasql which would let you basically write basic SQL directly in the callback.

1 Like