Framework-agnostic visualization library designed for AI-powered applications. Simple syntax that LLMs generate effortlessly. 25 chart types ready for your AI agents.
import { GPTVis } from '@antv/gpt-vis';
const gptVis = new GPTVis({
container: '#container',
width: 600,
height: 400,
});
// LLM generates this natural syntax
const visSyntax = `
vis line
data
- time 2020
value 100
- time 2021
value 120
- time 2022
value 150
`;
gptVis.render(visSyntax);From basic statistical charts to advanced visualizations
Every feature optimized for AI generation and human usability
Works with vanilla JavaScript, React, Vue, Angular, or any framework of your choice.
Simple, markdown-like syntax that LLMs can generate effortlessly with high accuracy.
Built-in support for streaming output from AI models with real-time rendering.
Gracefully handles incomplete or malformed data during AI generation.
Automatic data detection, smart color schemes, and adaptive layouts built-in.
Optimized rendering engine for smooth animations and large datasets.
Works seamlessly with any JavaScript framework or vanilla JS
Full support for React 18+ with hooks integration
npm install @antv/gpt-visCompatible with Vue 3 composition API
npm install @antv/gpt-visUse with plain JavaScript, no framework required
npm install @antv/gpt-visStart creating beautiful, AI-friendly charts in minutes