https://altair-viz.github.io/index.html
Altair is a declarative statistical visualization library for Python, based on Vega and Vega-Lite, and the source is available on GitHub.
With Altair, you can spend more time understanding your data and its meaning. Altair’s API is simple, friendly and consistent and built on top of the powerful Vega-Lite visualization grammar. This elegant simplicity produces beautiful and effective visualizations with a minimal amount of code.
Getting Started
Gallery
User Guide
Case Studies
Advanced Usage
To use Altair for visualization, you need to install two sets of tools
Depending on the frontend you would like to use, the instructions differ slightly. See the following instructions for your chosen frontend:
We recommend installing Altair with JupyterLab. If you would like to use it with the classic notebook, see Quick Start: Altair + Notebook.
Altair version 3 works best with JupyterLab version 1.0 or later.
To install JupyterLab and Altair with conda, run the following command:
$ conda install -c conda-forge altair vega_datasets jupyterlab
To install JupyterLab and Altair with pip, run the following command:
$ pip install -U altair vega_datasets jupyterlab
Once this is finished, run:
$ jupyter lab
In the browser window that launches, select “File”->”New”->”Notebook” and then click “Select” without changing the kernel (it should say “Python 2” or “Python 3” depending on which Python version you are running).