mrkeyoor.com_
Wed 12 Aug 16:49 UTC
Webevaluationupdated 12 Aug 2026

Infographic

AntV Infographic is a TypeScript renderer that turns a compact, Mermaid-like text format into editable SVG infographics. It solves the gap between raw charts and hand-designed visuals by combining data, layout templates, themes, icons, and an in-browser editor in one embeddable package.

Verdict

AntV Infographic is a strong choice when you want attractive, repeatable visual summaries generated from structured text inside a web app. The template library, SVG foundation, editor, streaming parser, and agent skills offer more than a pretty demo. Use it for web-first publishing, but test every chosen template and export target before promising office-document compatibility or charting depth.

Setup4/5One-package browser start, with assets and exports needing care
Docs4/5Strong English guides, but template capability detail is uneven
Community3/5Current pull requests, with a slower default-branch release pace
Maturity3/5Useful 0.2 release, with text, syntax, and chart limits open

Who it’s for

Web developers who need repeatable infographics inside a product rather than image files made by hand.
Teams generating visual summaries from language models and wanting progressive rendering while text streams in.
Documentation and publishing tools that benefit from SVG output, preset designs, themes, and editable text.
Claude Code or Codex users who want packaged skills for creating syntax, structures, items, templates, and complete HTML files.
TypeScript teams prepared to extend the renderer with custom templates, structures, resources, fonts, and themes.

Who it’s NOT for

PowerPoint or Word workflows that require portable SVG text: an open issue confirms that text can disappear because the renderer uses foreignObject, which PowerPoint may not support.
Analysts who need mature multidimensional charts and hover tooltips: both remain subjects of open requests, including a report that the line-chart template only produces one series.
AI pipelines that cannot validate or repair generated syntax: an open report says incorrect indentation and line breaks from other models can prevent parsing.
Designers expecting a Figma-like freeform editor: the documented editor covers selection, movement, text edits, resizing, zoom, undo, and a toolbar, not unrestricted vector authoring.
Teams needing a settled template contract: reports describe fields shown in skill examples but ignored by some templates, clipped content, and requests for better per-template capability documentation.

Setup reality

Embedding the renderer is easy: install one npm package, create a container, instantiate Infographic, and pass it a short text description. The real work starts when you leave the gallery examples. You must choose a compatible template and data shape, provide an icon resource loader, test fonts and text wrapping, decide how exported SVG or PNG will be consumed, and validate AI-produced indentation and fields. Custom structures, items, themes, or server rendering are available, but they turn a quick embed into library development.

A text format for designed information

AntV Infographic sits between a charting library and a design tool. You describe a visual using a compact, indentation-based syntax, choose a template, provide structured data, and optionally specify a theme or lower-level design pieces. The library renders the result as SVG in a web page. Its roughly 200 built-in templates cover lists, sequences, hierarchies, comparisons, statistical views, and relations, with preset palettes, patterns, hand-drawn styling, and icons.

This is a useful abstraction for products that generate the same kind of visual repeatedly. A report builder can turn weekly metrics into a branded card. A documentation system can render a process summary from source text. A language model can emit the syntax in chunks while the page progressively updates. Unlike a generated bitmap, the resulting text remains editable in the browser and the SVG can scale without becoming blurry.

The syntax borrows Mermaid’s text-first feel, but its purpose is different. Mermaid is strongest at technical relationships such as sequences and flows. Infographic emphasizes data storytelling and visual presentation. It separates information structure from graphic semantics, so the same content can move between compatible templates or adopt a different theme without redrawing everything.

The browser start is convincingly small

Installation is one npm command. Create an Infographic instance with a container, dimensions, and editable flag, then pass a string to render. The README example needs only a template name and three list items. CommonJS, ES modules, a browser bundle, TypeScript declarations, and a separate server-rendering export are present in the package. The MIT license is uncomplicated for commercial integration.

The built-in editor makes the first result more than a static preview. Users can select one or several elements, edit text, drag items, resize editable text, align or distribute objects, change font and icon colors, pan, zoom, and undo actions. Plugins and interactions are replaceable or extensible. This is enough for correcting model output or making small editorial adjustments after a template renders.

It is not a freeform vector studio. The documented tools operate on the rendered infographic’s existing structure. There is no claim of arbitrary pen tools, component libraries, multiplayer collaboration, or the breadth of a full design application. Treat editing as a finishing layer over declarative output, not as a replacement for a designer’s main workspace.

AI support is practical but needs a gate

The grammar is designed to tolerate partial input, which makes progressive rendering during model output plausible. The repository also ships five agent skills: they cover complete infographic creation, syntax, custom structures, custom items, and template maintenance. Claude Code users can install them through a plugin marketplace, while Codex users can install individual skills. This gives an agent more specific instructions than a vague request to “make an infographic.”

Generated syntax still needs validation. The rules require two-space indentation, particular collection names such as lists, sequences, values, or nodes, and fields supported by the selected template. Issue 181 reports that output from another model had invalid line breaks and indentation and would not parse. Issue 211 says a skill example used a value field that several diagrams did not display. The gallery and skills lower the prompting burden, but they do not make every template accept every plausible data field.

A production pipeline should render before publishing, inspect parser errors, and check that expected labels and numbers appear in the output. Keep known-good examples beside prompts. If a template is central to a workflow, pin the package version and add visual or SVG-content tests around it.

SVG is an advantage with a compatibility trap

SVG gives Infographic crisp scaling, selectable elements, and a natural path to browser editing. Custom resource loaders can fetch icon SVGs, and the theme system can register fonts, palettes, and reusable styles. These hooks are valuable for brand consistency and private asset catalogs. Server-side rendering examples in the repository show that SVG generation is not limited to a visible browser.

Office documents are the important exception. Issue 208 reports that an exported SVG inserted into Word or PowerPoint shows shapes but loses text. A maintainer explains that infographic text uses foreignObject for browser layout and that PowerPoint may not support it. If the deliverable ends in slides or documents, test the exact application and export route. A PNG can avoid SVG feature compatibility, but it gives up editability and resolution independence.

Charting depth is another boundary. An open request describes line charts as single-series where the user needs several dimensions. Another asks how to add hover highlighting and tooltips because the current result has no interaction feedback. Those users should start with ECharts or G2. Infographic is strongest when the message and composition matter more than exploratory analysis.

Healthy enough to try, young enough to test hard

The default branch was last pushed on June 1, 2026, and release 0.2.19 arrived on May 6. Fifteen open issues and seven open pull requests made up GitHub’s combined open count of 22. Issue activity continued in July, and new pull requests for text spacing, word-cloud indexing, and an AI provider appeared in August. The project is not inactive, but the default-branch and release pace has slowed from January, when several versions landed within days of one another.

The latest release added Shadow Root support for the editor and fixed multiline text clipping and width problems in PNG export. Those changes show attention to real embedding and output defects. Open reports still cover clipped content, missing word spacing, unsupported template fields, and the office SVG problem, so version 0.2 should be read honestly: capable, appealing, and still settling its contracts.

For web-first infographic generation, this is one of the most coherent open-source packages available. Its declarative format is easier to store and regenerate than hand-positioned SVG, and the editor provides a sensible correction loop. Adopt it template by template, not gallery by gallery. The right proof is whether your own data, fonts, languages, and export destination survive repeated renders without manual rescue.

Alternatives

ProjectWhat it isPick it when
MermaidA widely adopted text-to-diagram renderer for flows, sequences, class diagrams, and more.pick this instead when technical diagrams, broad format support, and an established text grammar matter more than editorial infographic styling.
Apache EChartsA broad interactive charting library with many statistical series and browser interactions.pick this instead when multidimensional data, tooltips, zooming, and analytical charts are the main requirements.
AntV G2A grammar-based visualization library for building custom statistical charts in JavaScript.pick this instead when you need fine control over data encodings and chart composition rather than preset story layouts.
ExcalidrawAn embeddable whiteboard and hand-drawn vector editor for freeform collaborative diagrams.pick this instead when people need to draw and arrange arbitrary objects directly instead of generating a template from structured text.

What people are saying

  1. [github-trending] antvis/Infographic

Sources

  1. AntV Infographic GitHub repository
  2. AntV Infographic getting started guide
  3. AntV Infographic syntax guide
  4. AntV Infographic editor guide
  5. AntV Infographic 0.2.19 release
  6. SVG text missing in Word and PowerPoint issue
  7. AI syntax formatting issue
  8. Multidimensional line chart request