# Antv G2 Chart (agent skill)

> Antv G2 Chart is an agent skill (a SKILL.md file) from antvis/chart-visualization-skills. Use this skill whenever the user wants to create, customize, or troubleshoot G2 v5 chart visualizations. It works with Claude Code and GitHub Copilot and has 506 GitHub stars.

Use this skill whenever the user wants to create, customize, or troubleshoot G2 v5 chart visualizations. Triggers include: any mention of 'G2', 'antv g2', '@antv/g2', 'G2 chart', 'G2 可视化', or requests to produce charts like bar charts (柱状图), line charts (折线图), pie charts (饼图), scatter plots (散点图), area charts (面积图), heatmap (热力图), radar charts (雷达图), treemap (矩形树图), funnel charts (漏斗图), sankey diagrams (桑基图), gauge (仪表盘), wordcloud (词云), boxplot (箱线图), as well as G2-specific topics like encode…

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/antvis/chart-visualization-skills |
| Skill path | skills/antv-g2-chart/SKILL.md |
| Skill name | antv-g2-chart |
| GitHub stars | 506 |
| Installs on skills.sh | not listed |
| License | MIT |
| Skills in repo | 1 |
| Plugin marketplace | visualization-skills |
| Official | no |
| Works with | Claude Code, GitHub Copilot |
| Category | Data & analysis |
| Last commit | Sep 22, 2026 |

## When it triggers

- use when debugging G2 rendering errors, V4→V5 migration issues, or chart type selection.
- use for G6 graph/network visualization, X6 editor diagrams, or S2 pivot tables.

## Add this skill

### Claude Code

```sh
/plugin marketplace add antvis/chart-visualization-skills
/plugin   # browse visualization-skills and install the plugin that contains antv-g2-chart
```

In the Claude apps, zip the skill folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

### ChatGPT / Codex

```sh
git clone --depth 1 https://github.com/antvis/chart-visualization-skills.git
cp -r chart-visualization-skills/skills/antv-g2-chart .agents/skills/antv-g2-chart   # repo; ~/.agents/skills for all projects
```

### Cursor

```sh
git clone --depth 1 https://github.com/antvis/chart-visualization-skills.git
cp -r chart-visualization-skills/skills/antv-g2-chart .cursor/skills/antv-g2-chart   # project; ~/.cursor/skills for all projects
```

Sources (checked 2026-10-07): https://code.claude.com/docs/en/skills, https://support.claude.com/en/articles/12512180-using-skills-in-claude, https://learn.chatgpt.com/docs/build-skills, https://cursor.com/docs/context/skills

---

Canonical page: https://appsgit.com/skills/antvis-antv-g2-chart
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
