antvis/g2

📊 The concise and progressive visualization grammar.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 25 minutes ago
Added to GitGenius on September 4th, 2026
Created on May 26th, 2016
Open Issues & Pull Requests: 185 (+0)
GitHub issues: Enabled
Number of forks: 1,661
Total Stargazers: 12,605 (+0)
Total Subscribers: 244 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 24.8 hours
Mean response time: 34.6 days
90th percentile: 104.6 days
Tracked items: 487

How this project is maintained

75% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "waiting for author" is answered fastest, typically in about 5 hours, while "documentation 📖" waits about 10 days. Three people close 75% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 113
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 707 days
Stale 30+ days: 112
Stale 90+ days: 110

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • OSCP (154)
  • waiting for maintainer (80)
  • documentation 📖 (75)
  • bug 🐛 (53)
  • v5 (43)
  • waiting for author (29)
  • feature 💡 (26)
  • good first issue (23)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

G2 is a visualization grammar for building dashboards, exploring data, and creating data-driven stories through declarative chart specifications.

G2 solves the problem of creating meaningful visualizations quickly without requiring deep knowledge of graphics programming. It implements a grammar-of-graphics approach inspired by Leland Wilkinson's foundational work, allowing developers to specify charts through high-level declarations that infer sensible defaults while remaining configurable for advanced use cases. The tool provides a functional declarative API that supports data-driven animations and interaction patterns, backed by a powerful renderer that can output to Canvas, SVG, or WebGL.

Developers should choose G2 if they need flexible, programmatic control over visualization creation with the ability to reuse logic across multiple charts. It suits projects ranging from simple dashboard building to complex data exploration interfaces where declarative specifications provide better maintainability than imperative approaches. The tool's high extensibility means you can customize scales, transforms, marks, and other components, or build entirely new visualization tools on top of its foundation. The ecosystem includes React bindings, official extensions for advanced features like 3D visualization and automated visual analytics, and integration with design systems like Ant Design.

The project maintains active engagement with its community through discussion forums and contribution pathways. Development shows consistent attention to expanding the renderer's capabilities, particularly around novel rendering styles and integration with established visualization ecosystems. The codebase demonstrates a commitment to comprehensive grammar coverage, regularly adding support for new mark types, transforms, and interaction patterns rather than relying on a fixed set of predefined chart types.