数据与分析
chart
Turn a CSV into a clean bar or line chart, embedded as an SVG in a standalone HTML page (multi-series, light and dark, no dependencies).
metadist · 已有 AI 审核记录
安装与使用
运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。
npx skills add metadist/synaplan-desktop --skill chart技能说明
name: chart description: Turn a CSV into a clean bar or line chart, embedded as an SVG in a standalone HTML page (multi-series, light and dark, no dependencies).
chart
Render a CSV as a good-looking chart. The first column is the category (x-axis); every other numeric column becomes a series. Bars are grouped; lines are drawn per series. The result is one self-contained HTML file that opens in any browser.
How to run
python3 <skill_dir>/run.py <input.csv> <output.html> [--type bar|line] [--title "Title"]
<input.csv>— a CSV with a header row (an allowed folder, or the out-box).<output.html>— a path inside the out-box.--type—bar(default) orline.--title— optional chart title.
Standard library only. After running, tell the user the saved path.