PerspectiveViewer Extension

I’ve just implemented an Bokeh Extension of the perspective-viewer web component. Its a nice widget for interactive exploration of data and reporting for example in a financial/ trading setting where you can provide the default view and then the user can explore deeper by slicing, dicing and changing the type of view.

perspective_streaming

It’s aimed at Panel but if you are interested in using it for Bokeh I believe that is possible as well (have not tested it though).

Bokeh

Use it via from awesome_panel_extensions.bokeh_extensions.perspective_viewer import PerspectiveViewer

You can find the code here

https://github.com/MarcSkovMadsen/awesome-panel-extensions/blob/master/awesome_panel_extensions/bokeh_extensions/perspective_viewer.ts
https://github.com/MarcSkovMadsen/awesome-panel-extensions/blob/master/awesome_panel_extensions/bokeh_extensions/perspective_viewer.py

Panel

Use it via from awesome_panel_extensions.widgets.perspective_viewer import PerspectiveViewer

There is a jupyter reference notebook as well.

perspective_streaming

and you can find the Panel code at https://github.com/MarcSkovMadsen/awesome-panel-extensions/blob/master/awesome_panel_extensions/widgets/perspective_viewer.py

2 Likes