Co-Pilot
Updated a month ago

infographic

Aantvis
4.0k
antvis/infographic
84
Agent Score

💡 Summary

AntV Infographic is a declarative framework for creating and rendering high-quality infographics efficiently.

🎯 Target Audience

Data analystsContent creatorsEducatorsMarketing professionalsDevelopers looking for visualization tools

🤖 AI Roast:Powerful, but the setup might scare off the impatient.

Security AnalysisLow Risk

Risk: Low. Review: shell/CLI command execution; outbound network access (SSRF, data egress); dependency pinning and supply-chain risk. Run with least privilege and audit before enabling in production.

简体中文 | English

Infographic, bring words to life!

🦋 An Infographic Generation and Rendering Framework, bring words to life!

npm version build status Visitors license

AntV Infographic is AntV's next-generation declarative infographic visualization engine. With a carefully designed infographic syntax, it can quickly and flexibly render high-quality infographics, making information presentation more efficient and data storytelling simpler.

✨ Features

  • 🤖 AI-friendly: Configuration and syntax are tuned for AI generation, provide concise prompts, and support AI streaming output and rendering
  • 📦 Ready to use: ~200 built-in infographic templates, data-item components, and layouts to build professional infographics in minutes
  • 🎨 Theme system: Hand-drawn, gradients, patterns, multiple preset themes, plus deep customization
  • 🧑🏻‍💻 Built-in editor: Includes an editor for infographics so AI-generated results can be edited further
  • 📐 High-quality SVG output: Renders with SVG by default to ensure visual fidelity and easy editing

🚀 Installation

npm install @antv/infographic

📝 Quick Start

import { Infographic } from '@antv/infographic'; const infographic = new Infographic({ container: '#container', width: '100%', height: '100%', editable: true, }); infographic.render(` infographic list-row-simple-horizontal-arrow data lists - label Step 1 desc Start - label Step 2 desc In Progress - label Step 3 desc Complete `);

The rendered result looks like this:

Streaming Rendering

With a highly fault-tolerant infographic syntax you can stream AI output in real time and progressively render the infographic.

let buffer = ''; for (const chunk of chunks) { buffer += chunk; infographic.render(buffer); }

🔧 Skills Integration

AntV Infographic provides skills to integrate with AI agents:

  • infographic-creator: Create an HTML file that renders an infographic
  • infographic-syntax-creator: Generate infographic syntax from descriptions
  • infographic-structure-creator: Generate custom structure designs
  • infographic-item-creator: Generate custom item designs
  • infographic-template-updater: (For developers) update the template library

Claude Code

We don't have a Claude marketplace entry yet, so install manually.

set -e VERSION=0.2.4 # Replace with the latest tag, e.g. 0.2.4 BASE_URL=https://github.com/antvis/Infographic/releases/download mkdir -p .claude/skills curl -L --fail -o skills.zip "$BASE_URL/$VERSION/skills.zip" unzip -q -o skills.zip -d .claude/skills rm -f skills.zip

Codex

Enter codex

# Replace <SKILL> with the skill name, e.g. infographic-creator # https://github.com/antvis/Infographic/tree/main/.skills/<SKILL> $skill-installer install https://github.com/antvis/Infographic/tree/main/.skills/infographic-creator

💬 Community & Communication

  • Submit your questions or suggestions on GitHub
  • Join GitHub Discussions to communicate with the community
  • Contributions are welcome! Let's improve AntV Infographic together!

If you have any suggestions, feel free to communicate with us on GitHub! Star ⭐ us to show your support.

📄 License

This project is open source under the MIT license. See LICENSE for details.

5-Dim Analysis
Clarity9/10
Novelty8/10
Utility9/10
Completeness8/10
Maintainability8/10
Pros & Cons

Pros

  • AI-friendly configuration and syntax
  • 200+ built-in templates for quick use
  • High-quality SVG output
  • Customizable themes and styles

Cons

  • May require learning curve for new users
  • Limited to infographic use cases
  • Dependency on external libraries
  • Potential performance issues with large datasets

Related Skills

spark-engineer

A
toolCo-Pilot
86/ 100

“This skill is like a Swiss Army knife for big data—just don't expect it to cut through all the noise.”

whodb

A
toolCo-Pilot
84/ 100

“Powerful, but the setup might scare off the impatient.”

exa-search

A
toolCo-Pilot
84/ 100

“Powerful, but the setup might scare off the impatient.”

Disclaimer: This content is sourced from GitHub open source projects for display and rating purposes only.

Copyright belongs to the original author antvis.