Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

data-viz-2025

БесплатноЗапускает вложенные скриптыНе проверен

State-of-the-art data visualization for React/Next.js/TypeScript with Tailwind CSS. Creates compelling, tested, and accessible visualizations following Tufte…

curiositechот curiositech★ 283 звезды на GitHub24 установки в других каталогах

Об этом скилле

Data Visualization 2025: The Art & Science of Visual Communication

Create visualizations that Seaborn users, Tufte readers, and everyone else will love. Marry NYT Graphics rigor with MoMA aesthetics, Nike energy, and On Kawara precision.

When to Use This Skill

✅ Use for:

  • Building interactive charts, dashboards, and data stories
  • Complex visualizations (chord diagrams, Sankey flows, network graphs)
  • Real-time data displays with animations
  • Mobile-responsive data components
  • Accessible, tested visualizations for production

❌ NOT for:

  • Static PNG/SVG exports without interaction (use design tools)
  • Basic HTML tables (use semantic markup)
  • Print-only graphics (different constraints)
  • Simple icon displays (use icon libraries)

Core Philosophy: The Three Pillars

1. Clarity (Tufte's Data-Ink Ratio)

Every visual element must earn its place. Remove chart junk, maximize signal-to-noise.

2. Beauty (Aesthetic Standards)

Visualizations are art. Use spring physics, thoughtful color, and premium design systems.

3. Truth (Graphical Integrity)

Data representation must be honest. Test rigorously, document assumptions, preserve context.

Quick Decision Tree

What are you building?
├─ Exploratory analysis / many iterations
│  └─ → Observable Plot (grammar-of-graphics)
│
├─ Standard business charts (bars, lines, pies)
│  ├─ Simple React integration needed
│  │  └─ → Recharts (easiest, most popular)
│  └─ Premium aesthetics + theming
│     └─ → Nivo (beautiful out of the box)
│
├─ Custom, one-of-a-kind visualizations
│  ├─ Need low-level control
│  │  └─ → Visx (React + D3 primitives)
│  └─ Full D3 power
│     └─ → D3.js directly (steeper learning curve)
│
└─ Dashboard with Tailwind design system
   ├─ → Tremor (purpose-built for dashboards)
   └─ → shadcn-ui Charts (Recharts + shadcn styling)

The Data Viz Stack (2025)

Recommended Packages

{
  "dependencies": {
    "@observablehq/plot": "^0.6.0",        // Exploratory, grammar-of-graphics
    "recharts": "^2.12.0",                  // React charts, simple & popular
    "@nivo/core": "^0.87.0",                // Beautiful, themeable charts
    "@visx/visx": "^3.10.0",                // Low-level D3 + React primitives
    "d3": "^7.9.0",                         // Direct D3 for custom work
    "@tremor/react": "^3.15.0",             // Tailwind dashboard components
    "framer-motion": "^11.0.0"              // Smooth animations
  },
  "devDependencies": {
    "@percy/cli": "^1.29.0",                // Visual regression testing
    "@testing-library/react": "^14.2.0",    // Component testing
    "@storybook/react": "^7.6.0"            // Component playground
  }
}

When to Use Each Library

Observable Plot - You want ggplot2/Vega-Lite in JavaScript

  • Grammar-of-graphics approach (marks, scales, transforms)
  • Perfect for rapid prototyping
  • Great for notebooks and exploratory analysis

Recharts - You want it to "just work" in React

  • Component-based (everything is a <Component />)
  • Excellent documentation and community
  • TypeScript support built-in
  • Smallest learning curve

Nivo - You want visually stunning results

  • 20+ chart types with beautiful defaults
  • Canvas, SVG, and HTML rendering
  • Server-side rendering support (unique feature)
  • Extensive customization via props

Visx - You want maximum control with React patterns

  • Low-level primitives (scales, axes, shapes)
  • Compose your own chart types
  • Airbnb's D3 + React toolkit
  • Best for novel visualizations

D3.js - You want unlimited power (and responsibility)

  • Full control over every pixel
  • Steepest learning curve
  • Best for advanced, custom work
  • Use with useEffect and useRef in React

The Tufte Checklist

Before shipping any visualization, verify:

  • Data-ink ratio maximized - Remove gridlines, decorations, 3D effects, shadows
  • Graphical integrity - Visual representation proportional to data values
  • Clear labeling - Direct labels on data (not legends requiring color matching)
  • No chart junk - No unnecessary ornamentation or Moiré vibration
  • Layered information - Use small multiples instead of overloaded single charts
  • Show data variation, not design variation - Consistent visual encoding

Read references/tufte-principles.md for deep dive.

The NYT Graphics Workflow

The New York Times graphics team process:

  1. Make 500 charts → Pick the one that displays information best
  2. Simplify within reason → Remove noise and clutter
  3. Annotate with insight → Words should highlight patterns, not just describe data
  4. Test with real users → Watch people interact, identify confusion
  5. Responsive by default → Mobile-first, progressive enhancement

Read references/nyt-workflow.md for case studies.

Animation & Micro-interactions

Data viz isn't static. Movement communicates:

When to Animate

  • State transitions - Data upd
Полный SKILL.md на GitHub

Установить data-viz-2025 в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Write
Edit
Bash

Вложенные файлы

.claude-plugin/plugin.jsonREADME.mdassets/example-chart.tsxreferences/animation-patterns.mdreferences/data-storytelling.mdreferences/library-comparison.mdreferences/testing-strategies.mdreferences/tufte-principles.mdscripts/chart-test-helpers.tsscripts/data-transform.ts

FAQ

Что делает скилл data-viz-2025?

State-of-the-art data visualization for React/Next.js/TypeScript with Tailwind CSS. Creates compelling, tested, and accessible visualizations following Tufte principles and NYT Graphics standards. Activate on "data viz", "chart", "graph", "visualization", "dashboard", "plot", "Recharts", "Nivo", "D3". NOT for static images, print graphics, or basic HTML tables.

Как установить скилл data-viz-2025?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл data-viz-2025 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить data-viz-2025 с