Altair Widgets
Note: Altair-widgets is experimental and not well supported. Use with care.
Altair Widgets are a tool to easily allow to interact with Altair charts in the Jupyter notebook.
This tool allows interactive exploration:
This library depends on Altair which relies on Vega-Lite for rendering charts. On Vega's homepage they list some other interactive toolkits. One of these is Voyager which has an online app that can be used with any CSV data.
Install
With conda:
$ conda install -c conda-forge ipywidgets
$ conda install -c conda-forge altair
$ pip install altair_widgets
With pip:
$ pip install altair_widgets
$ jupyter nbextension enable --py --sys-prefix widgetsnbextension
$ jupyter nbextension enable --py --sys-prefix vega
altair_widgets will not work with Google Colab as Colab does not support ipywidgets. To track ipywidgets support on Google Colab, see https://github.com/googlecolab/colabtools/issues/60.