talira

React chart components built on d3, with SVG, HTML and canvas charts, motion and server-side rendering

open sourceMITfree

nivo is a set of React data visualization components built on d3. You install @nivo/core and the scoped @nivo package for each chart you need, and each renders as SVG, HTML or canvas. Charts are declarative and highly customizable, with transitions powered by react-spring, patterns and gradients, theming, legends and responsive sizing, and they support server-side rendering and an HTTP rendering API. The site at nivo.rocks has an interactive playground and documentation for every component. It's MIT licensed.

Problems it solves

  • I need good-looking charts in my React dashboard without writing d3 by hand
  • I want React charts that render on the server too
  • I want animated, themeable charts in React that I can render to SVG or canvas

Features

  • Many chart types as separate @nivo packages
  • SVG, HTML and canvas rendering
  • Transitions powered by react-spring
  • Theming, patterns, gradients and legends
  • Responsive charts
  • Server-side rendering and an HTTP API
  • Interactive playground and documentation

Alternatives

The same job

These do what nivo does.

  1. Chartist Simple, responsive JavaScript charts drawn in SVG and styled with CSS, with no dependencies
  2. Recharts Composable charting library built from React components on SVG and D3
  3. ApexCharts Interactive SVG charts for the web, free under M revenue
  4. Apache ECharts Open source JavaScript library for interactive charts and visualization
  5. Vega Visualization grammar: describe interactive charts in JSON and render them to Canvas or SVG
  6. G2 AntV's grammar-of-graphics JavaScript library for building charts and dashboards on Canvas, SVG or WebGL

Compare nivo with the top 3