Mehmet-Erdem-Akin / react-chartjs-2

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

Home Page:https://react-chartjs-2.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

https://react-chartjs-2.js.org

License:MIT License


Languages

Language:TypeScript 85.5%Language:JavaScript 13.1%Language:CSS 1.4%