Skip to main content
skill CX Codex

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

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add podo/design-agent-skills --skill d3js-skill -a claude-code
Open on GitHub

What 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-code

2Manually: put the files in place

~/.claude/skills/d3js-skill/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/d3js-skill/

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

Similar skills

All skills for Frontend and UI →

From the same set108

The whole set →
work-with-design-systems The work-with-design-systems skill reviews Figma design systems and guides their phased creation. Use it for WCAG checks, component readiness scoring, and developer handoff documents. CX Codex +1 212installs liquid-glass-skill Guides SwiftUI interface development with Apple's Liquid Glass styling for iOS 26 and macOS 26. Helps set up modifiers, grouped glass layers, and UI migrations. CX Codex +1 212installs taste-design-stitch taste-design-stitch builds tailored DESIGN.md files for Google Stitch to guide UI screens away from generic AI aesthetics. CX Codex +1 211installs wiggle-claude-skill wiggle-claude-skill turns a static PNG, SVG or JPG logo into Lottie JSON, then renders it as a GIF and an MP4 and checks that the loop joins cleanly. CX Codex +1 211installs interface-design-dammyjay interface-design-dammyjay designs data-dense dashboards, admin panels, and SaaS tools without generic AI interface patterns. CX Codex +1 211installs claud3 claud3 picks a chart type from the question your data should answer, then writes a single-file D3 v7 page: dark theme, direct labels, annotations. CX Codex +1 211installs google-fonts-skill Searches Google Fonts by mood and personality, suggests pairings that work, and hands back CSS variables, a Tailwind config and embed links. CX Codex +1 210installs design-consultation This skill guides a structured design consultation to shape a product’s visual language, typography, color tokens, spacing scale, and component library. Use it to establish a design system from scratch. CX Codex +1 210installs

Project sponsors

Companies that keep this analytics open