Gathering detailed insights and metrics for react-chartjs-2
Gathering detailed insights and metrics for react-chartjs-2
Gathering detailed insights and metrics for react-chartjs-2
Gathering detailed insights and metrics for react-chartjs-2
React components for Chart.js, the most popular charting library
npm install react-chartjs-2
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
6,650 Stars
548 Commits
2,366 Forks
45 Watching
22 Branches
71 Contributors
Updated on 28 Nov 2024
Minified
Minified + Gzipped
TypeScript (59.1%)
MDX (24.05%)
JavaScript (11.53%)
HTML (4.35%)
CSS (0.97%)
Cumulative downloads
Total Downloads
Last day
-4.4%
257,997
Compared to previous day
Last week
1.9%
1,416,861
Compared to previous week
Last month
7.2%
5,972,464
Compared to previous month
Last year
35.7%
63,566,872
Compared to previous year
React components for Chart.js, the most popular charting library.
Supports Chart.js v4 and v3.
Install this library with peer dependencies:
1pnpm add react-chartjs-2 chart.js 2# or 3yarn add react-chartjs-2 chart.js 4# or 5npm i react-chartjs-2 chart.js
We recommend using chart.js@^4.0.0
.
Then, import and use individual components:
1import { Doughnut } from 'react-chartjs-2'; 2 3<Doughnut data={...} />
Need an API to fetch data? Consider Cube, an open-source API for data apps.
MIT Licensed Copyright (c) 2020 Jeremy Ayerst
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 2/17 approved changesets -- score normalized to 1
Reason
0 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
70 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More