# vega/altair

Declarative visualization library for Python

Repository: https://github.com/vega/altair
Canonical: https://ross.abutalabs.com/products/altair
Homepage: https://altair-viz.github.io/
Language: Python
License: BSD-3-Clause
License Family: permissive
Last push: 2026-08-16T17:34:41+00:00

## Health v2 (maintenance only)
Score: 91/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 78, longevity 100
- inputs: {"age_days": 4001, "days_push": 17, "days_rel": 71, "gap_med": 45, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 10458, forks 867 (observed 2026-08-28T04:10:42.036294+00:00)

## What it is
Vega-Altair is a declarative statistical visualization library for Python built on the Vega-Lite JSON grammar. It lets users create interactive, publication-quality charts with concise, consistent code.

## Use cases
- create scatter plots and histograms from pandas dataframes
- build interactive charts with linked selections and brushing
- make statistical visualizations with minimal code in Python
- embed charts in Jupyter notebooks or export to Vega-Lite JSON
- explore datasets visually during data analysis

## When to choose
- you want declarative, grammar-of-graphics style plotting in Python
- you need interactive charts with little boilerplate
- you work in Jupyter or data-science notebooks
- you want charts that compile to portable Vega-Lite JSON

## When to avoid
- you need pixel-level imperative control over rendering
- you need extremely large datasets rendered server-side without aggregation
- you require a non-web (native desktop) chart backend

## Facets
- artifact type: library
- maturity: stable
- function: data-visualization, charts
- domain: data-visualization, data-science
- platform: python, cross-platform
- tags: vega-lite, declarative-visualization, jupyter, statistical-graphics, plotting, python

## Member repositories
- vega/altair (main) score 91

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:42.036294+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:19:00.258698+00:00, confidence not recorded.
  - readme: https://github.com/vega/altair (fetched 2026-08-28T04:10:42.036294+00:00, sha 2b3c7e99b010)
  - homepage: https://altair-viz.github.io/ (fetched 2026-08-29T08:18:05.796924+00:00, sha 7133c99bedce)
  - registry_pypi: https://pypi.org/pypi/altair/json (fetched 2026-08-29T08:18:05.806122+00:00, sha dd006bca76f1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
