chart-visualization · Chart Generation

Data visualization: turns data into standard statistical charts. Calls the AntV gpt-vis remote API with 25+ chart types (bar, line, pie, scatter, radar, Sankey, funnel, word cloud, flow diagrams, and more), returning a static image URL output directly as a Markdown image.
Chart selection follows the data: time series → line/area, comparisons → bar, composition → pie/treemap, relationships → scatter/Sankey. Theme, size, title, and hand-drawn texture are adjustable.
Example invocation: "Plot this monthly sales data as a line chart."
Full brief
Positioning
chart-visualization is the fast lane for "data → one standard statistical chart": it calls the AntV remote API and returns a static image URL. Single standard charts only — no infographics, no full-page reports.
Core capabilities
- 25+ chart types: comparison (bar/column/waterfall/dual-axes), trend (line/area/scatter), distribution (boxplot/histogram/violin/funnel), composition (pie/liquid/word-cloud), hierarchy (org-chart/mind-map/treemap/Sankey), relationships (network/Venn), flow (flow/fishbone), radar, spreadsheet/pivot.
- Data-driven chart selection: time series → line/area, category comparison → bar, composition → pie/treemap, correlation → scatter, flows → Sankey.
- Style parameters: theme (default/academy/dark), width/height, title, hand-drawn texture (rough); axis titles for coordinate charts.
- Direct image output: the returned
resultObjURL is emitted as a Markdown image — ready to use.
Workflow
- Analyze data characteristics and needs, pick the chart type
- Build a spec-compliant JSON request body (with
typeandsourcefields) - curl the API, output the returned image URL
Inputs & outputs
| Input | Notes |
|---|---|
| Data | Required — in the chosen chart type's data format |
| Chart type | Optional — recommended from data characteristics when unspecified |
| Style params | Optional — theme / size / title / texture |
Output: static chart image URL (as a Markdown image).
Boundaries with adjacent skills
| Skill | Lane |
|---|---|
| chart-visualization (this) | AntV remote API → static image URL of one standard chart |
| infographic | Local JS rendering → infographics / animated GIF charts |
| data-report | CSV/Excel/JSON → full-page visual report (KPI cards + charts + insights + tables) |
Fit
- A standard statistical chart for a report, deck, or article
- Quickly checking data shape (distribution, trend, composition)
- Needing a directly embeddable image link
Before you start
- Prepare structured data in the chosen chart type's format.
- The endpoint is AntV/Alipay's official gpt-vis public free hosted service — no key needed; as a public service it may rate-limit or change, in which case retry or fall back to local rendering (infographic mode A).
chart-visualization is part of the Aiglade Skill library. Invoke it from the Aiglade chat box in plain language.