Python grammar of graphics & declarative plotting libraries
Describe what to plot and let the library build the chart. 6 tools, ranked by GitHub stars and updated .
Libraries where a chart is described as a mapping from data columns to visual channels such as position, color and size, rather than drawn step by step. plotnine and Lets-Plot follow the ggplot2 grammar of graphics, Vega-Altair builds on Vega-Lite, and HoloViews and hvPlot attach plotting to annotated data and dataframes.
By GitHub stars, the most popular Python declarative plotting libraries here are Vega-Altair (10.5K stars), plotnine (4.8K stars), and ggpy (3.7K stars). 4 of 6 had commits in the last 90 days.
| 1 |
Declarative statistical visualizations, based on Vega-Lite. |
10.5K |
| 2 |
Grammar of graphics for Python, based on R's ggplot2. |
4.8K |
| 3 |
Plotting system based on R's ggplot2. |
3.7K |
| 4 |
Complex and declarative visualizations from annotated data. |
2.9K |
| 5 |
Grammar of graphics plotting library for Python and Kotlin, by JetBrains. |
1.8K |
| 6 |
High-level plotting API for pandas, xarray, Dask, NetworkX and other data structures, built on HoloViews. |
1.4K |
Head-to-head comparisons
Related topics
Related categories
- Python plotting libraries
- Matplotlib extensions
- Python interactive web charting libraries
- Python dashboard & data app frameworks
- Python exploratory data analysis & profiling tools
- Python map & geospatial visualization libraries
- Python 3D & scientific visualization libraries
- High-performance & GPU plotting libraries for Python
- Python robotics & computer vision visualization
- Python financial charting libraries
- Terminal plotting libraries for Python
- Python text visualization libraries
Frequently asked questions
What is the most popular Python declarative plotting library?
Which Python declarative plotting libraries are actively maintained?
Are these Python declarative plotting libraries free and open source?
Missing a tool? Add it with a one-line pull request to the README.