d3js-skill — Claude Code skill for D3.js visualizations
d3js-skill guides an agent through building custom D3.js charts and interactive visuals. Useful when a standard chart library cannot express the design you need.
MIT 211 installs ★ 35 updated 2026-10-21
npx skills add podo/design-agent-skills --skill d3js-skill -a claude-codeWhat d3js-skill does
The skill covers D3.js charts such as bars, lines and scatter plots, along with heatmaps, chord diagrams and force-directed networks. It guides data binding, scales, axes and transitions, plus interactions like tooltips, zooming, panning and click handling. Responsive sizing, accessibility and performance are covered too.
Reference notes cover colour schemes, D3 patterns and scales; starter chart templates are included. The skill works with React, Vue, Svelte or vanilla JavaScript. It is not meant for 3D visuals. There is also a naming conflict: claud3 installs d3-viz as well, so installing both can overwrite the earlier skill.
What it helps with
- build an interactive D3.js chart
- create a heatmap or chord diagram
- add tooltips, zoom and click handling
- adapt a visualization for React or Vue
Example prompts for the agent
- Build an interactive D3.js chart with tooltips and zoom controls.
- Turn this dataset into a heatmap with labelled axes.
- Create a responsive force-directed network for a React app.
How to install d3js-skill
1Skills CLI (Vercel)
npx skills add podo/design-agent-skills --skill d3js-skill -a claude-code2Manually: put the files in place
~/.claude/skills/d3js-skill/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/d3js-skill/
1Skills CLI (Vercel)
npx skills add podo/design-agent-skills --skill d3js-skill -a codex2Manually: put the files in place
.agents/skills/d3js-skill/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add podo/design-agent-skills --skill d3js-skill -a cursor2Manually: put the files in place
.cursor/skills/d3js-skill/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install podo/design-agent-skills skills/d3js-skill2Manually: put the files in place
.github/skills/d3js-skill/SKILL.md1Skills CLI (Vercel)
npx skills add podo/design-agent-skills --skill d3js-skill -a gemini-cli2Platform CLI
gemini skills install https://github.com/podo/design-agent-skills --path skills/d3js-skillManually: put the files in place
.devin/skills/d3js-skill/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add podo/design-agent-skills --skill d3js-skill -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about d3js-skill
How do I install d3js-skill in Claude Code?
Run npx skills add podo/design-agent-skills --skill d3js-skill -a claude-code. The skill file will be at ~/.claude/skills/d3js-skill/SKILL.md.
What does d3js-skill do?
It guides an agent in writing custom D3.js visuals, from common charts to heatmaps and network graphs. It also covers interactions, accessibility and responsive sizing.
Does d3js-skill work with React?
Yes. It supports React, Vue, Svelte and vanilla JavaScript.
Source text
SKILL.md · MIT
--- name: d3js-skill description: | Create custom data visualizations with D3.js: bar, line and scatter charts, chord diagrams, heatmaps, force-directed networks and geographic maps, with proper data binding, scales, axes, transitions and interactivity. Works in React, Vue, Svelte or vanilla JavaScript. triggers: - "D3.js" - "D3 chart" - "D3 visualization" - "data visualization D3" - "interactive chart" das: category: data-visualization upstream: "https://github.com/chrisvoncsefalvay/claude-d3js-skill" upstream_path: "SKILL.md" version: latest install: true --- # d3js-skill > Catalogue stub — full skill: [chrisvoncsefalvay/claude-d3js-skill](https://github.com/chrisvoncsefalvay/claude-d3js-skill) <!-- das:install:start — generated from stub.yaml by `npm run generate`; edit stub.yaml, not this block --> ## Decision tree 1. **Is the full skill already installed?** Upstream names this skill `d3-viz`, so it installs next to this pointer (the pointer is not replaced). - Global: `f=~/.agents/skills/d3-viz/SKILL.md; [ -f "$f" ] && ! grep -q "^das:" "$f" && echo "installed" || echo "pointer"` - Project: `f=.agents/skills/d3-viz/SKILL.md; [ -f "$f" ] && ! grep -q "^das:" "$f" && echo "installed" || echo "pointer"` - `installed` → the skill is installed as `d3-viz`, invoke it and proceed - `pointer` → go to step 2 2. **Detect scope, then install:** ```bash [ -e ~/.agents/skills/d3js-skill ] && echo "global" || echo "project" ``` **Global:** ```bash npx skills add chrisvoncsefalvay/claude-d3js-skill --skill d3-viz -g -y ``` **Project:** ```bash npx skills add chrisvoncsefalvay/claude-d3js-skill --skill d3-viz -y ``` > **Claude Code:** send a command as a chat message starting with `!` to run it without leaving the conversation. **Heads-up** - **License:** no LICENSE file in the repository - **Name collision:** `d3-viz` is also written by `claud3` (its install or its catalogue pointer); installing both overwrites the earlier one. <!-- das:install:end --> ## Invoke after install - Skill name: `d3-viz` - Trigger phrases: "D3.js", "D3 chart", "D3 visualization", "data visualization D3" ## What it does Guides an agent through building bespoke D3.js visualizations with correct data binding patterns, scales, axes, transitions and interactivity (tooltips, zoom and pan, click handling). Covers common patterns such as bar, line and scatter charts, heatmaps, chord diagrams, pie charts and force-directed networks, plus responsive sizing, accessibility and performance practice. Ships reference notes (colour schemes, D3 patterns, scale reference) and starter chart templates next to the skill. ## When NOT to use - Standard charts where a charting library is enough; D3 is for bespoke visualizations - 3D visualization — use `cloudai-threejs` - Choosing chart types and accessible palettes across libraries (D3, Chart.js, Matplotlib, Plotly) rather than writing D3 code — use `data-viz-agent`
© podo · MIT · podo/design-agent-skills