Report a problem or share feedback← Catalog
AntV G2
curatedfreeantv-g2/library
A grammar-based engine for composed analytical visualizations.
$
pnpm add @antv/g2npm deps: @antv/g2
Our notes
Keep the visualization grammar explicit and dispose the chart on unmount. Pin a compatible major when adapting older examples; do not treat G2 and the G6 graph engine as interchangeable. Upstream: https://github.com/antvis/g2. License: MIT. Package metadata: @antv/g2@5.4.8. Runtime integration is not verified by this metadata sync.- Source
- AntV G2
- Kind
- package
- Categories
- chart
- Use as
- recipe — technique you apply to your own markup
- Applies to
- chart
- Motion
- not tagged (static or unknown)
- Tags
- data-visualization, visualization-reference, canvas, svg
- Licence
- MIT; retain the upstream license and notices. Hosted commercial products/examples are separate.
- Live demo
- g2.antv.antgroup.com
- Docs
- g2.antv.antgroup.com
Similar
Compare all 4 →- Chart.jschartjs/libraryRegister the controllers/scales you use or follow the auto entry guide. Give the canvas an accessible description or table; destroy instances on unmount. React wrappers are optional. Upstream: https://github.com/chartjs/Chart.js. License: MIT. Package metadata: chart.js@4.5.1. Runtime integration is not verified by this metadata sync.
- D3d3/libraryUse existing chart components first when they fit. D3 is a composition toolkit, not a ready-made UI. Assign DOM ownership carefully in React and budget for axes, interaction and accessibility. Upstream: https://github.com/d3/d3. License: ISC. Package metadata: d3@7.9.0. Runtime integration is not verified by this metadata sync.
- Apache EChartsecharts/libraryImport the renderer and features you need. Dispose chart instances and resize them with their container. Benchmark the actual data volume rather than relying on vendor maximums. Upstream: https://github.com/apache/echarts. License: Apache-2.0. Package metadata: echarts@6.1.0. Runtime integration is not verified by this metadata sync.