antvis/chart-visualization-skills
Graphiques AntV G2
Antv G2 Chart
79e ex aequo sur 207 skills du métier Data & analyse, par installations. Dans l'annuaire depuis le 18 novembre 2026.
Description
Génère du code de graphiques AntV G2 v5 avec le modèle d'API Spec moderne, des histogrammes et courbes simples aux treemaps et graphes de force. Impose les conventions strictes de la v5, comme les identifiants de conteneur obligatoires.
Voir la description originale (anglais)
This generates AntV G2 v5 chart code using the modern Spec API pattern, handling everything from basic bar and line charts to treemaps and force graphs. The skill enforces strict v5 conventions like mandatory container IDs, single `chart.options()` calls, and using `type: 'view'` with children arrays for multi-mark compositions. It's built around a comprehensive constraint system that catches common mistakes like mixing v4 chain syntax, using hallucinated mark types from other libraries, or setting illegal palette names that throw runtime errors. Worth using if you're working with G2 and need clean, runnable code that follows current best practices without the trial and error of API migration.
Installer le skill
- 1Copiez la commande d'installation (bouton Copier, en haut de la fiche).
- 2Lancez-la dans un terminal, sur la machine où vous utilisez Claude Code.
- 3Demandez la tâche à Claude comme d'habitude : il charge le skill quand la demande s'y prête.