creating-charts
Creates static, accessible data charts (bar, line, scatter, area, and more) from a data file with Vega-Lite, checks their text is readable at final size, and…
Skill by ken-guru
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ken-guru-creating-charts
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: data
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/creating-charts
What's inside
- Skill name
creating-charts- Description
- Creates static, accessible data charts (bar, line, scatter, area, and more) from a data file with Vega-Lite, checks their text is readable at final size, and writes alt text, a source caption, and a data table. Use when a request needs a chart, graph, or plot of real data.
- License
- MIT
- Metadata
- version: 1.0.0 · changelog: https://github.com/ken-guru/skills/blob/main/skills/creating-charts/CHANGELOG.md
- Instructions
- 49 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (15)
- CHANGELOG.md
- SKILL.md
- highlighted-bar.csv · examples/
- highlighted-bar.vl.json · examples/
- labelled-lines.csv · examples/
- labelled-lines.vl.json · examples/
- scatter-groups.csv · examples/
- scatter-groups.vl.json · examples/
- stacked-share.csv · examples/
- stacked-share.vl.json · examples/
- chart-design.md · references/
- vega-lite-patterns.md · references/
- creating-charts.mjs · scripts/
- tools.mjs · scripts/
- creating-charts.test.mjs · tests/
SKILL.md (first lines)
# Creating charts Turn real data into a static chart that makes one point, stays readable where it is shown, and carries its own text alternative and source. Script paths below are relative to this skill's folder. Run each as one command with the folder's absolute path in front, never chained with `&&`, `$(…)`, or heredocs. ## Inputs - **The data**, as a `.csv` or `.json` file the person supplied or a source vouches for. Never type numbers into the chart, never estimate them, and never invent data to fill a gap: ask for it instead. - **The point** the chart must make, and where the data came from. - **Output path** for the `.svg`. - **Theme values** (optional): a JSON file of CSS custom properties (`--color-bg`, `--color-text`, `--color-muted`, `--color-accent`, `--font-body`, …). Without one, a neutral palette is used. - **Slot size** (optional): the space the chart will fill, in px on a 1280×720 reference, as `WIDTHxHEIGHT`. The default is `1164x616`. ## Workflow ``` - [ ] 1. vl-convert is installed - [ ] 2. Chart form chosen for the point - [ ] 3. Spec written, with no data inside it - [ ] 4. check passes - [ ] 5. render written and the PNG looked at - [ ] 6. Alt text, source, and data table placed with the chart ``` 1. Run `node scripts/creating-charts.mjs setup --status`. If vl-convert is missing, ask the person to run `node scripts/creating-charts.mjs setup` once, outside the sandbox. 2. Choose the chart form from the point it makes. See [references/chart-design.md](references/chart-design.md). 3. Write a Vega-Lite spec (`.vl.json`) with `mark` and `encoding` only. Leave out `data`, `width`, `height`, and fonts and colours: the script adds the data from the file and sizes and styles the chart for its slot. Give every axis a `title` with units. 4. Run `node scripts/creating-charts.mjs check <spec.vl.json> --data <file> [--theme <values.json>] [--slot WxH]` and fix what it reports. 5. Run `node scripts/creating-charts.mjs render <spec.vl.json> --data <file> --out <file.svg> --alt "<takeaway>" --source "<source>" [--theme <values.json>] [--slot WxH]`. Look at the `.png` preview: labels must not overlap, and the takeaway must be visible at a glance. 6. Place the chart with its alt text, and put the source caption and the data table from the generated `.md` file next to it. In a slide deck, the caption goes on the slide and the data table goes in the speaker notes. The render keeps the spec and a copy of the data beside the SVG, so the chart can be re-rendered or changed later. ## Rules - **Alt text states the takeaway**, not the chart type: "Revenue doubled from Q1 to Q4", not "A bar chart of revenue". - **Colour is never the only signal.** Label series directly, or use different shapes or dash patterns, so the chart reads in greyscale. - **No interactive charts.** They only work in a browser and freeze in PDF and slide exports. - **Text stays at 20 px or more** at the slot size. `check` enforces it; when it fails, shorten labels or give the chart more space rather than shrinking text. When Anthropic's `dataviz` skill is also loaded, this skill's theme values and slide legibility rules take precedence for slide charts; `dataviz` may still inform the choice of chart form and its contrast check. ## References - **Choosing a chart form, emphasis, and labelling**: [references/chart-design.md](references/chart-design.md) - **Vega-Lite specs for common chart forms**: [references/vega-lite-patterns.md](references/vega-lite-patterns.md)
From ken-guru/skills, MIT.
More from ken-guru/skills
- 0.592score
drafting-slides
ken-guru
Drafts a slide deck as one editable Marp Markdown file, with a heading and speaker notes on every slide, citations for every factual claim, and a plan for…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
creating-diagrams
ken-guru
Creates legible diagrams from D2 source (flows, architectures, sequences, decision paths) and checks they stay readable at their final size.
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
generating-images
ken-guru
Generates illustrations and photos with an AI image provider (Gemini or OpenAI) after the person approves the cost, and marks every result as AI-generated.
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
planning-presentation
ken-guru
Plans a presentation with the person: interviews them until the audience, goal, and premises are clear, records the Brief, and builds an approved storyline…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
rendering-slides
ken-guru
Renders a Marp slide deck to HTML, a tagged PDF, and a speaker-notes script with a polished theme, installing the pinned tools it needs and checking the result.
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
reviewing-presentation
ken-guru
Reviews a slide deck for factual accuracy and sourcing, language, legibility, accessibility, timing, and how the rendered slides look, and reports what to fix…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
researching-sources
ken-guru
Finds, vets, and organises credible sources for a question into a Source Set, judging each source's credibility and turning conflicting claims into explicit…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
setup-devcontainer
ken-guru
Generate a shared devcontainer (Ubuntu base image, Node, GitHub CLI, one persistent config volume) in the current repo — one container every AI CLI installs…
SkillAFreshness: A★ 1Claude Code +9 - 0.583score
setup-copilot-devcontainer
ken-guru
Install GitHub Copilot CLI into an existing shared devcontainer generated by the setup-devcontainer skill — its own install step, optional YOLO guidance, and…
SkillAFreshness: A★ 1Claude Code +9 - 0.583score
setup-codex-devcontainer
ken-guru
Install Codex into an existing shared devcontainer generated by the setup-devcontainer skill — its own install step, sandbox capability grant, optional YOLO…
SkillAFreshness: A★ 1Claude Code +9 - 0.547score
unslop
ken-guru
Load when the user asks to edit prose for a more natural voice while preserving meaning, tone, technical precision, and structured output.
SkillBFreshness: B★ 1Claude Code +9 - 0.543score
setup-antigravity-devcontainer
ken-guru
Install Antigravity into an existing shared devcontainer generated by the setup-devcontainer skill — its own install step, optional YOLO alias, optional link…
SkillBFreshness: B★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 1
- Open issues
- 6
- Last commit (this folder)
- Oct 9, 2026 (19 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.0.0
- License
- MIT
- Repository
- github.com/ken-guru/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from ken-guru
- 0.592score
creating-diagrams
ken-guru
Creates legible diagrams from D2 source (flows, architectures, sequences, decision paths) and checks they stay readable at their final size.
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
generating-images
ken-guru
Generates illustrations and photos with an AI image provider (Gemini or OpenAI) after the person approves the cost, and marks every result as AI-generated.
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
planning-presentation
ken-guru
Plans a presentation with the person: interviews them until the audience, goal, and premises are clear, records the Brief, and builds an approved storyline…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
rendering-slides
ken-guru
Renders a Marp slide deck to HTML, a tagged PDF, and a speaker-notes script with a polished theme, installing the pinned tools it needs and checking the result.
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
reviewing-presentation
ken-guru
Reviews a slide deck for factual accuracy and sourcing, language, legibility, accessibility, timing, and how the rendered slides look, and reports what to fix…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
drafting-slides
ken-guru
Drafts a slide deck as one editable Marp Markdown file, with a heading and speaker notes on every slide, citations for every factual claim, and a plan for…
SkillAFreshness: A★ 1Claude Code +9
Cite this page
creating-charts skill. Agent Mart. https://agentmart.dev/skills/ken-guru-creating-charts (last updated 2026-10-24)