nivo is a collection of React data visualization components built on D3, offered as scoped packages per chart type alongside a core library.
Overview
nivo gives developers declarative React components for dashboards and analytics interfaces, with implementations riding on D3. The project highlights customization, interactivity, responsive layouts, theming, and patterns or gradients for SVG, HTML, and canvas renderers.
You install @nivo/core and add scoped @nivo packages for the chart types you need, such as bar, line, pie, heatmap, or geo visualizations. Documentation covers axes, colors, legends, gradients, patterns, and theming, and an interactive playground helps tune components.
Compared with some React chart bridges, nivo emphasizes server-side rendering support and a declarative API surface. Certain packages also expose HTTP API oriented rendering for charts on the server.
Because it is a library imported into applications, adoption happens inside your own React codebase rather than through a standalone hosted service or desktop app.
Key features
- Scoped chart packages
- SVG, canvas, and HTML renderers
- Server-side rendering support
- Responsive layouts
- Theming and color scales
- Patterns and gradients
- Interactive documentation playground
- HTTP API rendering option
Use cases
- React dashboard charts
- Declarative D3 visualizations
- Server-rendered charts
- Exploratory chart prototyping