---
name: "nivo-rich-dataviz-react"
description: "Build presentation-quality React data visualizations with Nivo animated components."
metadata:
  author: "Raphaël Benitte"
  version: "1.0.0"
  runtime_compatibility:
    - "codex"
    - "claude-code"
    - "cursor"
    - "windsurf"
triggers:
  - "create nivo bar chart"
  - "customize nivo chart theme"
  - "build nivo heatmap"
permissions:
  fs_read: true
  fs_write: "workspace"
  shell_exec: false
  net_access: false
---

# Nivo Rich React Dataviz & SVG/Canvas Charts

Creates rich charts with @nivo: ResponsiveBar, ResponsiveLine, ResponsivePie, ResponsiveHeatMap, interactive motion, theme customization, and server-side rendering support.

## When to Invoke
Invoke this skill whenever you need to:
- create nivo bar chart
- customize nivo chart theme
- build nivo heatmap

## Execution SOP & Rules
1. Ensure parent container has a fixed height when rendering Responsive* Nivo components.
2. Define a centralized theme object passing typography, axis styles, and tooltip styling.
3. Use Canvas variants (@nivo/bar ResponsiveBarCanvas) when rendering datasets exceeding 5,000 points.
4. Configure motionConfig="gentle" for elegant, spring-based bar and line animations.

## Verification Checklist
- Run local linting, syntax validation, and type-checks before reporting completion.
- Ensure all created or modified files adhere to workspace boundaries and avoid uncommitted secrets.
- Verify tests or build commands exit cleanly with return code 0.
