# echarts

This skill hands your agent working pyecharts recipes: bars, lines, pies, heatmaps, and a self-contained HTML report.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 364 installs · ★ 17
- Author: rebyteai-template
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/rebyteai-template/rebyte-skills/tree/HEAD/echarts/SKILL.md
- Updated: 2026-06-16
- HTML: https://affpapa.org/en/nevibecode/skills/rebyteai-template-echarts

## What it does

The skill covers chart building with `pyecharts`, the Python wrapper around Apache ECharts. It ships code samples for bar and line charts, pies, heatmaps and scatter plots, plus theme setup for `macarons`, `shine`, `roma`, `vintage`, `dark` and `light`.

A separate section walks through HTML reports: charts get added to a `Page` with a simple layout and rendered into one file with embedded JavaScript. Number formatting for tooltips and axis labels is covered too, like `{b}: ${c:,.2f}` for currency.

The part worth reading first is browser compatibility. Data has to be converted with `.tolist()` — pass a numpy array or a pandas Series and the chart may render blank. That is the usual failure point. The skill also lists fixes for empty charts, cramped sizing, overlapping labels and long legends.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add rebyteai-template/rebyte-skills --skill echarts -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/echarts/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/echarts/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add rebyteai-template/rebyte-skills --skill echarts -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/echarts/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add rebyteai-template/rebyte-skills --skill echarts -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/echarts/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install rebyteai-template/rebyte-skills echarts
```

2. **Manually: put the files in place**
- File: `.github/skills/echarts/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add rebyteai-template/rebyte-skills --skill echarts -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/rebyteai-template/rebyte-skills --path echarts
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/echarts/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add rebyteai-template/rebyte-skills --skill echarts -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/rebyteai-template/rebyte-skills/tree/HEAD/echarts/SKILL.md

## When to use it
- build a bar chart from pandas data
- combine several charts into one HTML report
- add a moving average line to a time series
- mark anomalies on a scatter plot
- pick a theme for the charts

## Example prompts
- build a pyecharts bar chart of cost by service and save it as HTML
- make a line chart with a 7-day moving average
- combine several charts into a single report file

## Similar
- [chart](https://affpapa.org/en/nevibecode/skills/chart.md) — skill · 3900 installs
- [create-viz](https://affpapa.org/en/nevibecode/skills/create-viz.md) — skill · 5200 installs
- [chart-designer](https://affpapa.org/en/nevibecode/skills/chart-designer.md) — skill · 5600 installs
- [syncfusion-react-smithchart](https://affpapa.org/en/nevibecode/skills/syncfusion-react-smithchart.md) — skill · 647 installs
- [data-visualization](https://affpapa.org/en/nevibecode/skills/data-visualization.md) — skill · 26 installs
- [canvas2d-data-visualization](https://affpapa.org/en/nevibecode/skills/canvas2d-data-visualization.md) — skill · 9 installs

## Other versions with the same name
- [echarts · sentimony](https://affpapa.org/en/nevibecode/skills/echarts.md) — 2700 installs

From the same set: [rebyteai-template/rebyte-skills](https://affpapa.org/en/nevibecode/by/rebyteai-template/rebyte-skills.md) — 5 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
