# Visx Modular React D3 Primitives

> Constructs custom, type-safe React chart components by composing low-level Airbnb Visx D3 primitives. Use when building bespoke design-system chart libraries in

- Skill: `bishnucd/visx-modular-react-d3-primitives` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx get-skill add bishnucd/visx-modular-react-d3-primitives`
- Raw SKILL.md: https://api.skillmd.com/api/skills/bishnucd/visx-modular-react-d3-primitives/raw
- Safety review: pending
- Works with: any agent that reads SKILL.md (Claude Code, Claude.ai, Cursor, Codex, Windsurf, 60+ more)
- Category: Coding & Dev Tools
- Author: Bishnucd (https://skillmd.com/u/bishnucd)
- Updated: 2026-12-02
- Page: https://skillmd.com/skills/bishnucd/visx-modular-react-d3-primitives

---

---
name: visx-modular-react-d3-primitives
description: Constructs custom, type-safe React chart components by composing low-level Airbnb Visx D3 primitives. Use when building bespoke design-system chart libraries in React.
license: MIT
metadata:
  author: Community List Maintainers
  version: "1.0.0"
  source: "https://airbnb.io/visx/"
---
# Visx Modular React D3 Primitives

## Overview
Visx combines the mathematical power of D3 layout calculations with React declarative DOM rendering, producing lightweight, unopinionated, fully customizable charting components.

## Operational Workflow

1. **Import Visx scale primitives (@visx/scale) to compute linear, time, and band projections.**:
   - Import Visx scale primitives (@visx/scale) to compute linear, time, and band projections.

2. **Compose SVG mark components (@visx/shape) including LinePath, Bar, and Area.**:
   - Compose SVG mark components (@visx/shape) including LinePath, Bar, and Area.

3. **Integrate @visx/tooltip to handle responsive mouse tracking and popup overlays.**:
   - Integrate @visx/tooltip to handle responsive mouse tracking and popup overlays.

4. **Package composite chart into reusable React TypeScript component adhering to design tokens.**:
   - Package composite chart into reusable React TypeScript component adhering to design tokens.

## Recommended Tools & Environments
- Visx
- D3.js
- React
- TypeScript

## Verification & Execution Criteria
- Pre-execution validation verifies all prerequisites and inputs.
- Step-by-step progress logging confirms intermediate state transitions.
- Post-execution checks verify output integrity and clean exit codes.

