antvis/chart-visualization-skills

⛏️ Turning data into a visual language for better thinking with Skills.

What it solves

This project provides a set of AI-powered skills and tools to automate the generation of professional data visualizations. It bridges the gap between raw data and visual charts by allowing AI agents to intelligently select chart types, generate runnable code for various AntV libraries, and create complex infographics or narrative reports.

How it works

The project functions as a plugin system for AI agents (like Claude Code) and a context retrieval service. It offers several specialized "skills" that the AI can use to generate specific outputs:

  • Chart Generation: Uses AntV libraries (G2, G6, X6) to produce everything from statistical charts and network graphs to interactive diagram editors.
  • GPT-Vis: A framework-agnostic approach using a markdown-like syntax for streaming chart generation.
  • Infographics & Narratives: Tools to transform text into visual infographics or structured narrative reports using T8 Syntax.
  • Context Service: An HTTP API and CLI tool that provides the AI with the relevant documentation and constraints (via hybrid search) to ensure the generated code is accurate and follows best practices.

Who it’s for

  • AI Agent Developers: Those building agents that need to generate high-quality, runnable visualization code.
  • Data Analysts: Users who whom want to automate the data-to-chart workflow using AI.
  • Frontend Developers: Developers using AntV libraries who want AI-assisted code generation for complex charts.

Highlights

  • Comprehensive Library: Supports 26+ chart types and multiple specialized libraries for graphs, editors, and infographics.
  • Harness Engineering: Rigorously tested to achieve up to 98.2% accuracy in chart generation compared to baseline LLMs.
  • Hybrid Retrieval: Combines FTS and Vector search to provide AI models with precise context for code generation.
  • Multi-Framework Support: Generates code for HTML, React, and Vue.

Related

  • Project
  • Project
  • Project
  • Project
  • Project