chart-visualization

chart-visualization is a skill for Claude Code, Codex from antvis/chart-visualization-skills. It costs 68 tokens per session (1,536 once invoked), scanned A, a copy of chart-visualization, MIT.

A skill for turning data into visual charts such as bar, line, pie, scatter, radar, Sankey, and flow diagrams. It sends chart definitions to AntV's visualization service and returns an image link.

In plain words
What is it for?
Creating charts for trends, comparisons, proportions, relationships, processes, hierarchies, and other supported data views.
Why use it?
It helps choose a chart type and present structured data visually instead of leaving it as raw tables or text.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Creating charts for trends, comparisons, proportions, relationships, processes, hierarchies, and other supported data views.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/antvis/chart-visualization-skills/chart-visualization
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add antvis/chart-visualization-skills --skill chart-visualization
Clone the repo
git clone --depth 1 https://github.com/antvis/chart-visualization-skills

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin chart-visualization — /plugin install chart-visualization after adding the marketplace above.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for chart-visualization

README.md
[![agentmods](https://agentmods.dev/badge/skills/antvis/chart-visualization-skills/chart-visualization/github.svg)](https://agentmods.dev/skills/antvis/chart-visualization-skills/chart-visualization)
Your own site
<a href="https://agentmods.dev/skills/antvis/chart-visualization-skills/chart-visualization"><img src="https://agentmods.dev/badge/skills/antvis/chart-visualization-skills/chart-visualization/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for chart-visualization

Your own site · 80×15
<a href="https://agentmods.dev/skills/antvis/chart-visualization-skills/chart-visualization"><img src="https://agentmods.dev/badge/skills/antvis/chart-visualization-skills/chart-visualization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,536 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 14 Sept 2026
  • Snyk pass 14 Sept 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 3
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
Origin 94% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00068 $0.01536
Opus 5.5 $0.00027 $0.00614
Sonnet 5.5 $0.00014 $0.00307
Haiku 4.5 $0.00007 $0.00154

Measured 1mo ago against content hash 9991e9b969c7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

chart-visualization scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

description: 将数据可视化为图表。当用户需要生成柱状图、折线图、饼图、散点图、雷达图、桑基图、思维导图、流程图等图表时调用此技能,通过 curl 工具调用 AntV API 生成图表图片
Origin

This is a copy

94% identical to chart-visualization — 13 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/chart-visualization/SKILL.md · 102 lines

How it starts

The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.

请根据用户输入的内容,将数据可视化为图表。

步骤

  1. 分析用户数据和需求,选择最合适的图表类型
  2. 构造符合规范的 JSON 请求体
  3. 使用 curl 工具调用 API 生成图表图片
  4. 将返回的图片 URL 以 Markdown 图片格式输出

图表选择指南

根据用户的数据特征和需求,选择最合适的图表类型:

  • 时间序列:用 line(趋势)或 area(累计趋势);两个不同量纲用 dual-axes
  • 比较类:用 bar(横向分类对比)或 column(纵向分类对比);频率分布用 histogram
  • 占比类:用 pie(比例构成)或 treemap(层级占比)
  • 关系与流程:用 scatter(相关性)、sankey(流向)或 venn(集合重叠)
  • 层级与树形:用 organization-chart 或 mind-map
  • 专用类型:
    • radar:多维度对比
    • funnel:流程阶段转化
    • liquid:百分比/进度
    • word-cloud:文本词频
    • boxplot / violin:统计分布
    • network-graph:复杂节点关系
    • fishbone-diagram:因果分析
    • flow-diagram:流程图
    • spreadsheet:结构化数据表或透视表

API 接口

POST https://antv-studio.alipay.com/api/gpt-vis

请求体为 JSON,必须包含 type 和 source: "chart-visualization-skills" 字段。

示例:

curl -X POST https://antv-studio.alipay.com/api/gpt-vis \
  -H "Content-Type: application/json" \
  -d '{"type":"line","source":"chart-visualization-skills","data":[{"time":"2025-01","value":100}],"title":"示例图表"}'

返回示例:

{"success":true,"resultObj":"https://..."}

将 resultObj 中的 URL 以 Markdown 图片格式输出:![图表](URL)

支持的图表类型

分类 图表类型
比较类 条形图(bar)、柱状图(column)、瀑布图(waterfall)、双轴图(dual-axes)
趋势类 面积图(area)、折线图(line)、散点图(scatter)
分布类 箱线图(boxplot)、直方图(histogram)、小提琴图(violin)、漏斗图(funnel)
占比类 饼图(pie)、水波图(liquid)、词云(word-cloud)
层级类 组织架构图(organization-chart)、思维导图(mind-map)、矩形树图(treemap)、桑基图(sankey)
关系类 关系图(network-graph)、韦恩图(venn)
流程类 流程图(flow-diagram)、鱼骨图(fishbone-diagram)
多维类 雷达图(radar)
表格类 表格/透视表(spreadsheet)

通用可选参数

参数 类型 默认值 说明
theme string "default" 主题:"default" / "academy" / "dark"
width number 600 图表宽度
height number 400 图表高度
title string "" 图表标题
style.texture string "default" 纹理:"default" / "rough"(手绘风格)

带坐标轴的图表还支持:axisXTitle、axisYTitle。

各图表 data 格式

  • area / line: {time: string, value: number, group?: string}[],可选 stack: boolean
  • bar: {category: string, value: number, group?: string}[],可选 group / stack (默认 stack: true)
  • column: {category: string, value: number, group?: string}[],可选 group (默认 true) / stack
  • scatter: {x: number, y: number, group?: string}[]
  • pie: {category: string, value: number}[],可选 innerRadius: number (0-1)
  • radar: {name: string, value: number, group?: string}[]
  • funnel: {category: string, value: number}[]
  • waterfall: {category: string, value?: number, isTotal?: boolean, isIntermediateTotal?: boolean}[]
  • dual-axes: categories: string[], series: {type: "column"|"line", data: number[], axisYTitle?: string}[]
  • histogram: number[],可选 binNumber: number
  • boxplot / violin: {category: string, value: number, group?: string}[]
  • liquid: percent: number (0-1),可选 shape: "circle"|"rect"|"pin"|"triangle"
  • word-cloud: {text: string, value: number}[]
  • sankey: {source: string, target: string, value: number}[],可选 nodeAlign
  • treemap: {name: string, value: number, children?: ...}[] (最深 3 层)
  • venn: {sets: string[], value: number, label?: string}[]
  • network-graph / flow-diagram: {nodes: {name: string}[], edges: {source: string, target: string, name?: string}[]}
  • fishbone-diagram / mind-map: {name: string, children?: ...} (最深 3 层)
  • organization-chart: {name: string, description?: string, children?: ...} (最深 3 层),可选 orient: "horizontal"|"vertical"
  • spreadsheet: Record<string, string | number>[],可选 rows / columns / values(透视表字段)

Read the full file on GitHub · 102 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 102 lines · 68 tokens per session scan A 9991e9b969c7

Subscribe to this mod's changes

chart-visualization is a skill published in the GitHub repository antvis/chart-visualization-skills (511 stars, last pushed 25d ago), licensed MIT. It adds 68 tokens to every session and 1,536 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). It is 94% identical to chart-visualization, differing in 13 lines, and is treated as a copy.

Related

Other skills, from other repositories

skill-guide

Skill navigator and guide -- automatically scans all installed skills and slash commands, then explains them in the user's native language with usage examples, workflow order, and recommendations. Triggered when users ask about available skills, how to use a skill, what skills are installed, or need help choosing the…

VV1NN/skill-guide · 109 tokens

opencli-usage

Discover and invoke OpenCLI capabilities for websites and Chrome. Find commands, inspect schemas, interpret results and choose browser or adapter tools.

jackwener/OpenCLI · 31 tokens

obsidian-bases

Create and edit Obsidian Bases (.base files) with views, filters, formulas, and summaries. Use when working with .base files, creating database-like views of notes, or when the user mentions Bases, table views, card views, filters, or formulas in Obsidian.

kepano/obsidian-skills · 63 tokens

officecli-word-form

Use this skill to create fillable Word forms (.docx) with real Content Controls (SDT) + legacy FormField checkboxes + MERGEFIELD mail-merge placeholders + document protection. Trigger on: 'fillable form', 'form fields', 'content controls', 'SDT', 'word form', 'fill in', 'only editable fields', 'protect document'…

iOfficeAI/OfficeCLI · 224 tokens

officecli-data-dashboard

Use this skill to build a multi-element Excel dashboard — Dashboard sheet on open, multiple formula-driven KPI cards, multiple charts, sparklines, and conditional formatting — from CSV or tabular input. Trigger on: 'dashboard', 'KPI dashboard', 'analytics dashboard', 'executive dashboard', 'metrics dashboard', 'CSV to…

iOfficeAI/OfficeCLI · 159 tokens

mnemon

Persistent memory CLI for LLM agents. Store facts, recall past knowledge, link related memories, manage lifecycle.

mnemon-dev/mnemon · 25 tokens