echarts-charts
Create interactive Apache ECharts charts and dashboard-ready HTML from Excel, CSV, JSON, tables, or pasted data.
Skill by Lucas-Fong
Chalk Labs
Need help deploying echarts-charts?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/lucas-fong-echarts-charts
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: spreadsheets, frontend, data, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Nov 2, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 2
cdn.jsdelivr.net· found in codecodeload.github.com· found in install command
Files it touches
~/.claude/skills/echarts-charts
What's inside
- Skill name
echarts-charts- Description
- Create interactive Apache ECharts charts and dashboard-ready HTML from Excel, CSV, JSON, tables, or pasted data. Use when Codex needs to make charts, visualizations, dashboards, ECharts options, interactive HTML charts, or convert analysis results into bar, line, pie, scatter, heatmap, radar, funnel, map, or combination charts.
- License
- MIT
- Instructions
- 59 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (5)
- SKILL.md
- openai.yaml · agents/
- official-links.md · references/
- option-patterns.md · references/
- render_echarts_html.mjs · scripts/
SKILL.md (first lines)
# ECharts 图表生成
将结构化数据转换为可交互的 Apache ECharts 图表。默认交付单文件 HTML;用户在项目中开发时,按项目框架输出相应组件或 `option`。
## 工作流
1. 识别数据来源、字段含义、图表目标和交付形态。
2. 选择图表类型:
- 趋势:折线图、面积图、双轴组合图。
- 排名/对比:柱状图、条形图、堆叠柱图。
- 构成:饼图、环形图、旭日图、矩形树图。
- 相关性/分布:散点图、气泡图、箱线图、热力图。
- 漏斗/流程/关系:漏斗图、桑基图、关系图。
3. 优先整理为 `dataset.source`,用 `encode` 映射字段。不要把同一份数据散落在多个 `series.data` 中,除非图表类型确实需要。
4. 生成 `option` 时包含:标题、图例、提示框、坐标轴、网格留白、数据缩放(长序列)、标签策略、颜色和导出工具箱。
5. 独立 HTML 交付时运行:
```bash
node scripts/render_echarts_html.mjs config.json output.html
```
6. 交付前用浏览器打开 HTML 验证:图表不空白、tooltip 可用、图例切换正常、中文不乱码、轴标签不严重重叠。
7. 若用户需要图片或报告嵌入,先生成 HTML,再用浏览器截图导出 PNG/PDF。作为 `html-report` 插件内置 skill 使用时,若浏览器或依赖缺失,先在插件根目录运行 `node scripts/bootstrap_html_report_deps.mjs`。
## 配置格式
`render_echarts_html.mjs` 接受:
```json
{
"title": "图表标题",
"subtitle": "可选副标题",
"width": 1200,
"height": 720,
"theme": "default",
"echartsUrl": "https://cdn.jsdelivr.net/npm/echarts@6/dist/echarts.min.js",
"option": {}
}
```
`option` 是标准 ECharts 配置对象。没有特殊要求时,使用 `references/option-patterns.md` 中的模板起步。
## 设计规则
- 默认使用浅色背景、清晰标题、紧凑网格和可读字号。
- 中文图表优先使用 `PingFang SC, Microsoft YaHei, sans-serif`。
- 类目超过 12 个时优先横向条形图或启用 `dataZoom`。
- 排名图默认按指标降序排序;时间序列默认按时间升序排序。
- 数值需格式化:百分比、金额、千分位和单位不要混淆。
- 不要用 3D 效果装饰普通业务数据。
- 对业务汇报类图表,颜色不超过 6 个主色;强调色只用于关键系列或异常值。
## 资源
- `scripts/render_echarts_html.mjs`:将 ECharts `option` 包装为可打开的单文件 HTML。
- `references/option-patterns.md`:常见图表类型的 ECharts 配置模板和选择建议。
- `references/official-links.md`:官方文档入口,遇到不熟悉的图表类型时优先查阅。From Lucas-Fong/html-report-stable-base, MIT.
More from Lucas-Fong/html-report-stable-base
- 0.563score
generate-word-clouds
Lucas-Fong
Generate one or multiple weighted keyword word-cloud PNG images with confirmed brand colors, Top N selection, transparent or colored backgrounds, compact…
SkillBFreshness: B★ 2Claude Code +9 - 0.563score
html-report-stable-base
Lucas-Fong
Use when supplied content or an existing HTML report needs a stable editable browser shell in either long-screen single-page mode or 16:9 PPT mode, including…
SkillBFreshness: B★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Aug 27, 2026 (2 months ago)
- Last release
- Jul 27, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Lucas-Fong
- 0.563score
generate-word-clouds
Lucas-Fong
Generate one or multiple weighted keyword word-cloud PNG images with confirmed brand colors, Top N selection, transparent or colored backgrounds, compact…
SkillBFreshness: B★ 2Claude Code +9 - 0.563score
html-report-stable-base
Lucas-Fong
Use when supplied content or an existing HTML report needs a stable editable browser shell in either long-screen single-page mode or 16:9 PPT mode, including…
SkillBFreshness: B★ 2Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get echarts-charts running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
echarts-charts skill. Agent Mart. https://agentmart.dev/skills/lucas-fong-echarts-charts (last updated 2026-10-24)