chart-image
Skill by zebbern
Generates publication-quality PNG chart images from data using Vega-Lite and Node.js. Built for headless servers such as Fly.io, VPS and Docker setups that cannot run a browser.
Install chart-image
Built from the published package, never by AI.
git clone --depth 1 https://github.com/zebbern/claude-code-guide /tmp/claude-code-guide && mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-guide/skills/chart-image ~/.claude/skills/chart-imageRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/zebbern/claude-code-guide /tmp/claude-code-guide && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-code-guide/skills/chart-image ~/.gemini/antigravity-cli/skills/chart-imageAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
chart-image is an agent skill that generates PNG chart images from data. It supports line, bar, area, pie and donut, candlestick, and heatmap charts, plus multi-series, stacked, dual-axis, and sparkline variants. Charts are rendered with Vega-Lite through a Node.js script called chart.mjs, which the assistant runs from the command line.
The skill uses Sharp with prebuilt binaries, so it avoids native compilation and does not need Puppeteer or a browser. The source says it makes no external API calls and generates charts in under 500ms. It is aimed at headless server setups such as Fly.io, VPS and Docker, and at alert, monitor, and report charts, with options for change annotations, value labels, and dark mode.
Written from the project's SKILL.md and checked against it.
What it can do
- Basic chart typesCreates line, bar, area, point, pie, donut, candlestick, and heatmap charts as PNG files.
- Multi-series and stacked chartsCompares several series on one line chart or stacks bars by category.
- Dual-axis and volume overlayAdds a second Y axis or volume bars under a price line.
- Alert-style chartsShows percent change, zooms the Y axis, labels peaks, and limits output to recent points.
- Annotations and reference linesAdds event markers, static text, and horizontal reference lines to a chart.
- Axis and number formattingFormats Y values as dollars, percent, compact numbers, or a d3-format string.
- Temporal time seriesSpaces X values by real date gaps when X values are ISO dates.
- Sparklines and SVG outputMakes small transparent sparkline images and can output SVG instead of PNG.
What you need
- Node.js
- npm, to install the script dependencies once
Try asking
- Plot this hourly price data as a dark-mode line chart with percent change shown
- Make a donut chart of these category totals and save it to my project
- Create a bar chart of monthly revenue with a churn area on the right axis
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/chart-image/SKILL.md, skills/chart-image/scripts/chart.mjs. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
README.md10 KB -
SKILL.md10 KB -
scripts/chart.mjs53 KB -
scripts/package.json155 B
Alternatives to chart-image
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
chart-image: common questions
Does chart-image need a browser or Chrome?
No. The source says it is a pure Node.js process with no Chrome download and no headless browser.
Does chart-image call external APIs to make charts?
No. The source says it works offline and makes no external API calls, unlike QuickChart.io.
Which chart types does chart-image support?
The source lists line, bar, area, pie, donut, candlestick, and heatmap charts, with multi-series, stacked, and sparkline variants.
How do I install chart-image?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is chart-image free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is chart-image safe to use?
It scores 85 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to chart-image?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
