antvis/infographic
đĻ An Infographic Generation and Rendering Framework, bring words to life with AI!
4.1K stars275 forksUpdated Jan 26, 2026
npx skills add antvis/infographicREADME
įŽäŊ䏿 | English
Infographic, bring words to life!
đĻ An Infographic Generation and Rendering Framework, bring words to life!
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
- **infogr
...
Publisher
Statistics
Stars4.1K
Forks275
Open Issues9
LicenseMIT License
CreatedSep 11, 2025