Altair
Declarative statistical visualization library for Python using Vega-Lite.
Charts and data visualisation PyPI BSD
How Altair is used
Altair is a dependency in 7 of the 6,208 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 314 projects, and what it is used with below comes from all of them. The most used alternative in our scan is Matplotlib (167 projects). Projects that use it most often also use pandas (97.5%), NumPy (95.2%), Click (92.0%).
Altair popularity over time
Gid Score 67: downloads 85, use in agent projects 67, GitHub stars 51, downloads trend 53 (each 0-100). How it is calculated.
Often used with Altair
| pandas | 97.5% of Altair projects · 22.7× more than average |
|---|---|
| NumPy | 95.2% of Altair projects · 16.3× more than average |
| Click | 92.0% of Altair projects · 36.9× more than average |
| Jinja2 | 91.1% of Altair projects · 41.9× more than average |
| jsonschema | 90.8% of Altair projects · 55.8× more than average |
| attrs | 90.4% of Altair projects · 130.6× more than average |
| MarkupSafe | 90.1% of Altair projects · 121.6× more than average |
| Pillow | 90.1% of Altair projects · 23.5× more than average |
From all 314 projects in our scan that use Altair, including the dependency samples.
How Altair is funded
Install
| Package | pip install altair |
|---|---|
| Main stacks | Python (313), Next.js (1) |
| Example projects | YuhangChen1/Paper2All, bingreeky/MaAS, camel-ai/seta, neo4j-product-examples/graphrag-examples, Hoanganhvu123/ShoppingGPT |
Alternatives to Altair
Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside Altair are not listed here; they are in "Often used with".
| Tool | Gid Score | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|---|
| Matplotlib pypi Python library for creating static, animated and interactive plots and visualizations. |
80 | 167 (10.3%) | 41.3M | 23.4K | PSF-2.0 |
| Seaborn pypi Statistical data visualization library built on matplotlib with rich plot types. |
69 | 59 (3.6%) | 7.1M | 14.1K | BSD |
| Plotly pypi Interactive data visualization library for Python with rich chart and dashboard support. |
72 | 57 (3.5%) | 13.3M | 18.8K | MIT |
| Bokeh pypi Create interactive plots and applications in the browser from Python code. |
60 | 3 (0.2%) | 1.5M | 20.5K | BSD-3-Clause |
| plotnine pypi Grammar of Graphics implementation for Python inspired by ggplot2. |
48 | 2 (0.1%) | 593K | 4,774 | MIT |
More in Charts and data visualisation: Recharts Chart.js Mermaid XY Flow D3.js React Chart.js 2 Diagrams Apache ECharts