Plot Twist: This Chart Library Is 100% AI-Generated
It gives LLMs a markdown-like syntax to generate charts in real time, streaming the visuals as the tokens arrive.

What it does
GPT-Vis is a framework-agnostic visualization library built for the messy reality of LLM output. It reads a declarative, markdown-like vis syntax that models can generate without learning a complex API, and turns it into one of 26 chart types—line plots, network graphs, mind maps, and more. For non-AI use, it also accepts plain JSON objects directly.
The interesting bit
The entire project is AI-generated, and its contribution policy explicitly rejects human-written code in favor of AI-generated pull requests. Its renderer is designed around the quirks of streaming generation: it plots data incrementally as tokens arrive and shrugs off malformed syntax instead of throwing errors.
Key highlights
- 26 chart types spanning statistical, relationship, and text visualizations
- Framework-agnostic core with bindings for React, Vue, Angular, and shadcn/ui
- Native streaming support that renders charts as the model generates syntax
- Fault-tolerant parsing that handles incomplete or malformed AI output
- Built-in light, dark, and academy themes with customizable color palettes
- MCP Server and Chart Skill integrations for agent workflows
Caveats
- The documented React and Vue integrations are thin imperative wrappers around a vanilla JS class, so you will be managing refs and lifecycle manually unless you use the shadcn/ui React components.
- The project only merges AI-generated code, which may affect long-term maintenance predictability for teams expecting traditional open-source governance.
Verdict
Worth a look if you are building chatbots or AI agents that need to emit charts without external API calls. Skip it if you want a mature, human-curated charting library with a large community ecosystem.
Frequently asked
- What is antvis/GPT-Vis?
- It gives LLMs a markdown-like syntax to generate charts in real time, streaming the visuals as the tokens arrive.
- Is GPT-Vis open source?
- Yes — antvis/GPT-Vis is open source, released under the MIT license.
- What language is GPT-Vis written in?
- antvis/GPT-Vis is primarily written in TypeScript.
- How popular is GPT-Vis?
- antvis/GPT-Vis has 749 stars on GitHub.
- Where can I find GPT-Vis?
- antvis/GPT-Vis is on GitHub at https://github.com/antvis/GPT-Vis.