Jupyter widgets enable interactive data visualization in the Jupyter notebooks.
Notebook Widgets
Notebooks come alive when interactive widgets are used. Users can visualize and control changes in the data. Learning becomes an immersive, plus fun, experience. Researchers can easily see how changing inputs to a model impacts the results.
A library for creating simple interactive maps with panning and
zooming, ipyleaflet supports annotations such as polygons,
markers, and more generally any geojson-encoded geographical
data structure.
Example
Installation
With conda:
With pip:
nglview
A Jupyter widget to interactively view molecular structures and trajectories.
Example
Installation
With conda:
With pip:
bqplot
A 2-D interactive data visualization library implementing the
constructs of the grammar of graphics, bqplot provides a simple
API for creating custom user interactions.
Example
Installation
With conda:
With pip:
pythreejs
A 3-D visualization library enabling GPU-accelerated computer
graphics in Jupyter.
Example
Installation
With conda:
With pip:
ipyvolume
3-D plotting for Python in the Jupyter notebook based on IPython widgets using WebGL.
Example
Installation
With conda:
With pip:
BeakerX
BeakerX includes widgets
for interactive tables, plots, forms, Apache Spark, and more.
The table widget automatically recognizes pandas dataframes
and allows you to search, sort, drag, filter, format,
select, graph, hide, pin, and export to CSV or
clipboard. This makes connecting to spreadsheets quick and
easy.
The table widget, shown below, is so fast because it's implemented with the PhosphorJS Data Grid,
part of Jupyter Lab's architecture.
Example
Installation
With conda:
With pip:
jupyter-gmaps
Gmaps lets you
embed interactive Google maps in Jupyter notebooks. Visualize
your data with heatmaps, GeoJSON, symbols and markers, or plot
directions, traffic, or cycle routes. Let users draw on the map
and capture the coordinates of the markers or polygons they are
placing to build interactive applications entirely in Python.
Example
Installation
With conda:
With pip:
widget cookiecutter
The Jupyter widget framework is extensible and enables developers to create custom
widget libraries and bindings for visualization libraries of the JavaScript ecosystem.
The cookiecutter project helps widget authors get up to speed with the
packaging and distribution of Jupyter interactive widgets.
It produces a base project for a Jupyter interactive widget library following the current best practices.
An implementation for a placeholder "Hello World" widget is provided. Following these practices will
help make your custom widgets work in static web pages (like the examples of this page) and be compatible
with future versions of Jupyter.