๐ฆ An Infographic Generation and Rendering Framework, bring words to life with AI!
npx skills add https://github.com/antvis/Infographic --skill infographic-structure-creatorCLI๋ฅผ ์ฌ์ฉํ์ฌ ์ด ์คํฌ์ ์ค์นํ๊ณ ์์ ๊ณต๊ฐ์์ SKILL.md ์ํฌํ๋ก ์ฌ์ฉ์ ์์ํ์ธ์.
็ฎไฝไธญๆ | English
๐ฆ 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.
npm install @antv/infographic
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:
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 provides skills to integrate with AI agents:
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
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 projects and products powered by AntV Infographic:
๐ก Have a project using AntV Infographic? Share it in Issue #99!
If you have any suggestions, feel free to communicate with us on GitHub! Star โญ us to show your support.
This project is open source under the MIT license. See LICENSE for details.