Infographic README

The project's README from github.com/antvis/Infographic. As one markdown file: README.md.

简体中文 | English

Infographic, bring words to life!

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

antvis%2FInfographic | Trendshift

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.

Website GitHub Docs Gallery Skills AI Agent

AntV Infographic Preview

✨ Features

🚀 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:

AntV Infographic DEMO

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);
}
AntV Infographic Streaming Rendering

🔧 Skills Integration

AntV Infographic provides skills to integrate with AI agents:

Claude Code

Claude marketplace is now available. You can install from marketplace, or keep using manual install.

/plugin marketplace add https://github.com/antvis/Infographic.git
/plugin install antv-infographic-skills@antv-infographic

Manual install:

set -e

VERSION=0.2.4 # Replace with the latest tag, e.g. 0.2.14
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

🌐 Ecosystem

Community projects and products powered by AntV Infographic:

💡 Have a project using AntV Infographic? Share it in Issue #99!

💬 Community & Communication

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.

Infographic (antvis/Infographic)

Searching Database…

What is this?AntV Infographic is a declarative framework for generating and rendering infographics, built so AI can turn text descriptions into polished visual infographics rendered as SVG.
Is this a rendering library or a full design app?It is a TypeScript rendering engine and library with about 200 built-in templates, data-item components, and layouts, not a standalone design app — you embed it in your own tool or use it through community-built apps, CLI, or editor extensions.
How do I get it running?You install the @antv/infographic package and follow the Quick Start guide to render infographics from its declarative syntax; AI agent skills for Claude Code or Codex can also be installed to generate infographics automatically.
Do I need an AI provider to use it?No AI access is required for the core rendering engine itself; AI is only involved if you plug it into an agent like Claude Code or Codex using the provided skills to generate the infographic syntax.
What happens if AI output is malformed while streaming?The infographic syntax is designed to be highly fault-tolerant specifically so AI-streamed output can be progressively rendered even if it is incomplete or imperfect.
Does this run in the browser, Node, or both?It is a universal TypeScript library that renders to SVG and works in both browser and Node environments, with the broader ecosystem adding integrations like a CLI, VSCode extension, and React wrapper.
What file format does the output use?It renders to SVG by default, which the project says keeps visual fidelity high and makes the result easy to edit afterward.
Can I use this from Python instead of JavaScript?The core library is TypeScript/JavaScript, but the community maintains feffery-infographic, a Python wrapper for building infographics with Plotly Dash.
Does it integrate with editors like VS Code or Obsidian?Yes, the ecosystem includes a dedicated VSCode extension and an Obsidian plugin that preview and render Infographic syntax directly inside those apps.
What is the DeepSeek Harness plugin for this project?dsh-antv-infographic is a community DeepSeek Harness plugin that lets agents stream, edit, and export Infographic diagrams inside that harness.
Creator
antvis
Size
3.8 MB
Stars
7K
Age
1y
Commits · 90 Days