antvis/G2
📊 The concise and progressive visualization grammar. observed · 2026-08-28
Health v2 · maintenance only
84/100
- Activity 92
- Release rhythm 65
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 19
- age_days: 3751
- days_rel: 239
- days_push: 49
- n_releases_24m: 22
Adoption not part of the score
12595 stars · 1661 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
G2 is a JavaScript/TypeScript visualization grammar library implementing the Grammar of Graphics, supporting canvas, SVG, and WebGL rendering. It provides a declarative API for building interactive charts for dashboards, data exploration, and storytelling.
Use cases
- build interactive dashboards with charts
- create data visualizations in javascript
- declarative charting library for web apps
- explore data visually in the browser
- add animated and interactive charts to a web app
- implement grammar of graphics charts
When to choose
- you want a flexible grammar-based charting approach rather than fixed chart types
- you need interactive, animated charts rendered via canvas, SVG, or WebGL
- you want a declarative API with high extensibility for custom marks, scales, and transforms
When to avoid
- you need a simple high-level chart library with opinionated defaults and minimal configuration
- you are building non-web environments like native mobile or server-side image generation without a DOM/canvas
- your team prefers imperative chart APIs like ECharts-style option trees
Facets
library · maturity active
data-visualization charts animation data-visualization frontend web-development analytics browser grammar-of-graphics charting canvas svg webgl declarative-api antv nodejs javascript typescript
3 sources
- readme: https://github.com/antvis/G2 · fetched 2026-08-28 · f5e32b3acb48
- homepage: https://g2.antv.antgroup.com · fetched 2026-08-29 · b9d1e969b195
- registry_npm: https://registry.npmjs.org/g2 · fetched 2026-08-29 · 95a272ddece1
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| antvis/G2 | main | 84 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem