Nivo

repository·master·Indexed 11 days ago

https://github.com/plouc/nivo

A collection of highly customizable React components for building data visualization applications built on top of d3. It supports SVG, Canvas, and HTML rendering engines, and provides server-side rendering capabilities via the nivo-api. Available packages include @nivo/bar, @nivo/line, @nivo/pie, @nivo/geo, @nivo/heatmap, and others for various chart types like Chord, Bump, Calendar, and Funnel.

Tokens
94.4K
Snippets
306
Records
391
Agent score
95%

What's inside Nivo

  1. Overview of @nivo/polar-bar

    master

    @nivo/polar-bar is a package within the Nivo data visualization library that provides the PolarBar component. This component is designed for creating polar bar charts, which represent data in a circular/radial coordinate system rather than a standard Cartesian grid.

    For detailed interactive documentation, API references, and live examples, visit the official Nivo website: http://nivo.rocks/polar-bar/.

  2. Overview of nivo features

    master

    nivo provides supercharged React components for building data visualization applications, built on top of d3. Key features include:

    • Highly Customizable: Deep control over chart properties.
    • Motion/Transitions: Powered by react-spring.
    • Multiple Rendering Engines: Supports SVG, HTML, and Canvas charts.
    • Server Side Rendering (SSR): Ability to render charts on the server and via HTTP API.
    • Theming & Styling: Support for Patterns, Gradients, and custom Theming.
    • Responsive Charts: Components designed to adapt to container sizes.
  3. Use the AreaBump chart component

    master
    The @nivo/bump package also includes the AreaBump component. This variation visualizes rank changes using filled areas instead of simple lines, providing a different visual emphasis on the magnitude or presence of the series over time.
  4. Use @nivo/icicle for Icicle charts

    master

    @nivo/icicle provides components for rendering Icicle charts. It offers two primary ways to render these charts:

    1. Icicle: The standard component for rendering Icicle charts, typically using SVG.
    2. IcicleHtml: A variant designed for HTML-based rendering.

    For detailed API documentation and interactive examples, visit the official Nivo documentation at nivo.rocks/icicle/.

  5. Use @nivo/swarmplot for data visualization

    master

    The @nivo/swarmplot package provides components for creating Swarm Plots, which are used to visualize the distribution of data points across different categories without overlap. It offers two main components:

    1. SwarmPlot: An SVG-based component suitable for high-quality, interactive visualizations where DOM manipulation and CSS styling are preferred.
    2. SwarmPlotCanvas: A Canvas-based component optimized for performance when rendering a very large number of data points.
  6. Use @nivo/chord for Chord diagrams

    master
    The @nivo/chord package provides components for creating Chord diagrams, which visualize relationships between entities in a circular layout. You can use the Chord component for SVG-based rendering, which is ideal for interactive, high-quality vector graphics.
  7. Use @nivo/chord for ChordCanvas diagrams

    master
    The ChordCanvas component in the @nivo/chord package provides a Canvas-based implementation of Chord diagrams. This is recommended when you need to render a large number of connections or entities that might cause performance issues with SVG rendering.
  8. Use the @nivo/calendar Canvas component

    master
    The CalendarCanvas component is a high-performance alternative to the standard Calendar component. It uses HTML5 Canvas for rendering, which is more efficient when dealing with large datasets or complex visualizations that might cause performance issues with SVG-based rendering.