Complexity Score
High
Open Issues
90
Dependent Projects
26
Weekly Downloadsglobal
135,323
Keywords
License
- MIT
- Yesattribution
- Permissivelinking
- Permissivedistribution
- Permissivemodification
- Nopatent grant
- Yesprivate use
- Permissivesublicensing
- Notrademark grant
Downloads
Readme
React Google Charts
React Google Charts is a lightweight and fully typed React wrapper for Google Charts.
It’s easy to use, supports over 25 chart types, supports animations and is highly customizable when needed.
Docs • Quickstart • Examples • Contributing • Stack Overflow • Discord
Quickstart
Install this library with your favorite package manager:
npm i react-google-charts
Then, import and use it:
import { Chart } from "react-google-charts";
<Chart
chartType="ScatterChart"
data={[
["Age", "Weight"],
[4, 5.5],
[8, 12],
]}
width="100%"
height="400px"
legendToggle
/>;
Contributing
Contributions are very welcome. Check out CONTRIBUTING.md
Run the Storybook
git clone https://www.github.com/rakannimer/react-google-charts
cd react-google-charts
npm i
npm run start:storybook
Dependencies
Loading dependencies...
CVE IssuesActive
0
Scorecards Score
3.60
Test Coverage
62.00%
Follows Semver
Yes
Github Stars
1,664
Dependenciestotal
0
DependenciesOutdated
0
DependenciesDeprecated
0
Threat Modelling
No
Repo Audits
No
Learn how to distribute react-google-charts in your own private NPM registry
$npm config set registry
https://npm.cloudsmith.com/owner/repo
/Processing...
✓Done
$npm install react-google-charts
/Processing...
✓Done
95 Releases
NPM on Cloudsmith