Skip to content

ZJU-REAL/Easel / skills/builtin/infographic

infographic

Verified

将数据或文字内容转化为可视化信息图,支持静态(AntV)和动画 GIF 两种模式。当用户需要制作信息图、数据可视化、流程图、对比图、动画图表、GIF 图表、思维导图、SWOT 分析图时调用。本地渲染信息图/GIF 动画;要单张静态图片 URL 用 chart-visualization,要 CSV/JSON→整页报告用 data-report

FileKindSize
EASEL-META.mdmarkdown1.5 KB
SKILL.mdskill md4.3 KB
references/antv-templates.mdmarkdown5.6 KB
references/gif-charts.mdmarkdown3.1 KB
scripts/gif_chart.pyscript21.3 KB

EASEL-META.md

View on GitHub
# Easel SKILL 元数据

| 字段 | 值 |
|------|-----|
| **SKILL 名称** | infographic |
| **所属层** | produce |
| **来源生态** | AntV(蚂蚁集团数据可视化)+ 自研 GIF 动画脚本 |
| **上游库** | @antv/infographic(AntV Infographic DSL 渲染引擎) |
| **参考仓库** | https://github.com/antvis |
| **功能描述** | 本地渲染信息图(AntV DSL 静态模式)与动画 GIF 图表(scripts/gif_chart.py,matplotlib+Pillow) |
| **自研脚本** | `scripts/gif_chart.py`(自研,matplotlib+Pillow+numpy):bar-race / count-up / progress / line-grow 四类动画 GIF,`--selftest` 自检 |
| **SKILL.md 行数** | 见文件 |
| **自包含** | 是(含 references/ + scripts/) |
| **profile_aware** | false |
| **备注** | 2026-07-23 GIF 模式真封装:新增自研 `scripts/gif_chart.py`,把原先只在 md 里描述的 GIF 动画落地为确定性 Python 脚本(Agg 后端 + 中文字体自动注册 + 自适应调色板控体积),SKILL.md 模式 B 从"描述"改为"调脚本"。原浏览器 Canvas 版(core/ + templates/ + examples/)已移除 |

> 收录时间: 2026-07-23
> 用途: 内容 → 结构化信息图 / 动画 GIF 图表

## 致谢

静态模式基于 AntV 开源生态(antvis)的 `@antv/infographic` DSL 渲染引擎,特此致谢。动画 GIF 模式(`scripts/gif_chart.py`)为 Easel 侧自研,基于 matplotlib(Agg 逐帧渲染)+ Pillow(GIF 合成)+ numpy。旧版浏览器 Canvas 实现(`core/` + `templates/`)已移除。
deprecation-and-migrationaddyosmani/agent-skillsManages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
performance-optimizationaddyosmani/agent-skillsOptimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.Stars: 118kUpdated Claude CodeCodexVerifiedInstall
agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.Stars: 118kUpdated Claude CodeCodexVerifiedInstall