antv-g2-chart
OfficialGenerate runnable G2 v5 chart code.
Authorantvis
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Translates natural-language chart requests into accurate, runnable G2 v5 code using Spec mode.
Core Features & Use Cases
- Spec-compliant code generation: Outputs conform to G2 v5 Spec with type, data, encode, transform, coordinate, scale, axis, legend, and tooltip configurations.
- Wide chart type coverage: Supports interval, line, area, pie (theta), scatter, heatmap, density, and more, with comprehensive encode channels and transforms.
- Safe, deterministic output: Includes validation and basic error handling to ensure runnable code and predictable results.
Quick Start
Provide a dataset and a target chart type, and the Skill will generate a ready-to-run G2 v5 Spec-based chart code snippet.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: antv-g2-chart Download link: https://github.com/antvis/chart-visualization-skills/archive/main.zip#antv-g2-chart Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.