Generates publication-quality PNG chart images from data using Vega-Lite. Supports line, bar, area, and point charts for reports, alerts, and time series. Runs in headless server environments like Fly.io.
Ships in sundial-org-awesome-openclaw-skills-4. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Generate PNG chart images from data using Vega-Lite. Perfect for headless server environments.
Built for Fly.io / VPS / Docker deployments:
canvas which requires build tools)Alternatives and why they don't work well on Fly:
canvas npm - Requires native compilation, fails on minimal Docker imagescd /data/clawd/skills/chart-image/scripts && npm install
node /data/clawd/skills/chart-image/scripts/chart.mjs \
--type line \
--data '[{"x":"10:00","y":25},{"x":"10:30","y":27},{"x":"11:00","y":31}]' \
--title "Price Over Time" \
--output chart.png
# Full data with zoomed Y-axis
node /data/clawd/skills/chart-image/scripts/chart.mjs \
--type line \
--data '[...]' \
--title "Elon Posts 34 Tweets This Week" \
--show-change \
--focus-change \
--show-values \
--dark \
--output alert.png
# Focus on recent action (last 4 points)
node /data/clawd/skills/chart-image/scripts/chart.mjs \
--type line \
--data '[hourly data...]' \
--title "Elon Tweet Odds (24h)" \
--show-change \
--focus-change \
--focus-recent 4 \
--show-values \
--dark \
--output alert-recent.png
| Option | Description | Default |
|---|---|---|
--type | Chart type: line, bar, area, point | line |
--data | JSON array of data points | - |
--spec | Path to full Vega-Lite spec file | - |
--output | Output PNG path | chart.png |
--title | Chart title | - |
--width | Width in pixels | 600 |
--height | Height in pixels | 300 |
--x-field | Field name for X axis | x |
--y-field | Field name for Y axis | y |
--x-title | X axis label | field name |
--y-title | Y axis label | field name |
--color | Line/bar color | #e63946 |
--y-domain | Y scale as "min,max" | auto |
--show-change | Show +/-% change annotation | false |
--focus-change | Zoom Y-axis to 2x data range | false |
--focus-recent N | Show only last N data points | all |
--show-values | Label min/max peak points | false |
--dark | Dark mode theme | false |
--svg | Output SVG instead of PNG | false |
--sparkline | Tiny inline chart (80x20, no axes) | false |
--stacked | Stacked bar chart (requires --color-field) | false |
--color-field | Field name for stack categories | - |
--series-field | Field for multi-series line charts | - |
Compare multiple trends on one chart:
node chart.mjs \
--type line \
--series-field "market" \
--data '[{"x":"Jan","y":10,"market":"A"},{"x":"Jan","y":15,"market":"B"},{"x":"Feb","y":12,"market":"A"},{"x":"Feb","y":18,"market":"B"}]' \
--title "Comparison" \
--output multi.png
Each unique value in --series-field becomes a separate colored line with legend.
Visualize breakdowns by category:
node chart.mjs \
--type bar \
--stacked \
--color-field "category" \
--data '[{"x":"Mon","y":10,"category":"Work"},{"x":"Mon","y":5,"category":"Personal"}]' \
--title "Hours by Category" \
--output stacked.png
Data needs three fields: x (groups), y (values), and the color-field (stack categories).
Tiny charts for embedding in text summaries:
node chart.mjs \
--sparkline \
--data '[{"x":"1","y":10},{"x":"2","y":15},{"x":"3","y":12}]' \
--output spark.png
Sparklines are 80x20 by default (override with --width / --height), transparent background, no axes.
Use --dark for dark mode. Recommended to auto-select based on time:
--darkecho '[{"x":"A","y":1},{"x":"B","y":2}]' | node chart.mjs --output out.png
For advanced charts, pass a full Vega-Lite spec:
node chart.mjs --spec my-spec.json --output custom.png
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/sundial-org-awesome-openclaw-skills-4:chart-imagefrom sundial-org-awesome-openclaw-skills-4
sundial-org-awesome-openclaw-skills-4@cascade-ai-ml-agents-misc-2 is listed by joshuarweaver/cascade-ai-ml-agents-misc-2 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-ai-ml-agents-misc-2 --plugin sundial-org-awesome-openclaw-skills-4908 skills in this plugin
/1passwordSet up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op./a11y-checkerScan HTML and JSX for accessibility issues with AI-powered fix suggestions/abm-outboundMulti-channel ABM automation that turns LinkedIn URLs into coordinated outbound campaigns. Scrapes profiles, enriches with Apollo (email + phone), gets mailing addresses via Skip Trace, then orchestrates email sequences, LinkedIn touches, and handwritten letters via Scribeless. The secret weapon for standing out in crowded inboxes.Other plugins' skills for the same job