react-chartjs-2
    TypeScript icon, indicating that this package has built-in type declarations

    4.0.1 • Public • Published

    react-chartjs-2

    Logo

    React components for Chart.js, the most popular charting library.

    Supports Chart.js v3 and v2.

    NPM version Downloads Build status Coverage status Bundle size


    Quickstart   •   Docs   •   Slack   •   Stack Overflow

    Quickstart

    Install this library with peer dependencies:

    npm install --save react-chartjs-2 chart.js

    We recommend using chart.js@^3.0.0.

    Then, import and use individual components:

    import { Doughnut } from 'react-chartjs-2';
    
    <Doughnut data={...} />

    Need an API to fetch data? Consider Cube, an open-source API for data apps.

    Docs

    License

    MIT Licensed Copyright (c) 2020 Jeremy Ayerst

    Install

    npm i react-chartjs-2

    DownloadsWeekly Downloads

    493,235

    Version

    4.0.1

    License

    MIT

    Unpacked Size

    49.7 kB

    Total Files

    13

    Last publish

    Collaborators

    • dangreen
    • gor181
    • jerairrest
    • igorlukanin
    • leonid_frontend