Skip to content

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

License

Notifications You must be signed in to change notification settings

pieterbergwerff/react-chartjs-3

 
 

Repository files navigation

react-chartjs-3

Caution

The code in this repository does not work. It is a fork of reactchartjs/react-chartjs-2 that I made in an attempt to update the library for React 19, but so far I've been unsuccessful. Please feel free to fork this repository if you'd like to give it a shot yourself.

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

Quickstart

Install this library with peer dependencies:

Note

I haven't published this library to npm yet, so the installation command below will not work.

npm i react-chartjs-3 chart.js

We recommend using chart.js@^4.0.0.

Then, import and use individual components:

import { Doughnut } from 'react-chartjs-3';

<Doughnut data={...} />

License

This repository is a fork of reactchartjs/react-chartjs-2, which is licensed under the MIT License and copyrighted by Jeremy Ayerst in 2017.

This fork continues to use the MIT License. Modifications to this repository were made starting with this commit in 2024 by Christopher Kumm.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 94.0%
  • JavaScript 6.0%