Skip to main content
skill CX Codex

echarts · rebyteai-template — Claude Code skill: pyecharts charts and HTML reports

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

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add rebyteai-template/rebyte-skills --skill echarts -a claude-code
Open on GitHub

What echarts 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.

What it helps with

  • 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 for the agent

  • 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

How to install echarts

1Skills CLI (Vercel)

npx skills add rebyteai-template/rebyte-skills --skill echarts -a claude-code

2Manually: put the files in place

~/.claude/skills/echarts/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/echarts/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about echarts

How do I install echarts in Claude?

Run npx skills add rebyteai-template/rebyte-skills --skill echarts -a claude-code. The skill file lands at ~/.claude/skills/echarts/SKILL.md.

What does the echarts skill do?

It gives the agent code templates for pyecharts charts and HTML report assembly, along with fixes for common rendering problems.

Why is my chart blank?

Most likely a numpy array or pandas Series went into add_xaxis or add_yaxis. Convert the data with .tolist() first.

Similar skills

All skills for Data and databases →

echarts by other authors comes first.

From the same set5

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor