Review the Setup
Install the Skill from the repository's supported route and add @antv/g2 to the target application as appropriate. The chart package and the agent Skill are separate dependencies.
Create charts with AntV G2 v5 using its marks, encodings, scales and interactions.
https://github.com/antvis/chart-visualization-skills/blob/a105fa12a9fa41fccccc2eba7f4b34973628f5d3/skills/antv-g2-chart/SKILL.md A G2 v5 implementation guide combining declarative spec rules, targeted reference retrieval, common error prevention, and data-aware visual choices.
AntV G2 Chart focuses on chart implementation with @antv/g2 v5. It starts generated examples from a complete declarative specification and covers common failure points such as missing containers, incorrect mark names, singular label properties, and misplaced transforms. It also provides a documentation-retrieval endpoint for targeted G2 concepts and examples.
The source is especially clear about multi-mark composition: a line and points belong inside a view's children rather than repeated root-type changes. Its visual guidance separates the engine's defaults from the Skill's chosen overrides, and asks that units, source labels, and titles only be added when their meaning is known. It is not a general AntV tool for graphs, diagram editors, or pivot tables.
Requires @antv/g2 v5 or the documented browser bundle. Optional reference retrieval uses the external AntV context service.
A full spec makes a generated chart easier to reason about than a sequence of partial root changes.
Color should encode a meaningful group or status, not add a rainbow to a single-series comparison.
The source distinguishes chosen radius, width, and opacity values from the engine behavior they override.
The example brief below has not been tested. Check the skill’s setup before using it.
Install the Skill from the repository's supported route and add @antv/g2 to the target application as appropriate. The chart package and the agent Skill are separate dependencies.
Adapt the scope, source material and constraints in this brief before running the skill.
Check the actual output against these observable criteria.
Use antv-g2-chart to build a G2 v5 chart from the supplied monthly revenue data. Overlay a line and points with view plus children, preserve the supplied currency units, and use a complete initial spec with an explicit container and render call. Avoid redundant color legends and check dense labels before adding them. OpenDesign provides a local design workspace for coding agents. This listing does not mean the skill is bundled or that its external tools, credentials and software dependencies are included.
This page describes the pinned source revision linked below. Upstream behavior and requirements can change.
| Source Owner | antvis |
|---|---|
| Repository | antvis/chart-visualization-skills |
| Skill File | skills/antv-g2-chart/SKILL.md |
| License | MIT |
| Reviewed Snapshot | 2026-10-07 · a105fa12a9fa |
Original summary by OpenDesign, based on the linked source. Repository stars are a dated popularity signal, not skill usage or a quality score.
Keep your brief, source material and design work together in a local workspace. Check the skill’s own setup before adding it to your workflow.