Skip to content

rakannimer/react-google-charts

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
January 20, 2022 16:58
December 14, 2021 19:59
December 14, 2021 20:51
December 14, 2021 19:59
July 20, 2023 19:51
August 12, 2018 11:02
July 22, 2018 15:40
July 20, 2023 19:51

React Google Charts

Logo

A thin, typed, React wrapper for Google Charts.

version downloads license bundle size


Quickstart   •   Docs   •   Contributing   •   Stack Overflow

Quickstart

Install this library with your favorite package manager:

yarn add react-google-charts

or

npm install --save 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
/>

Docs

You can also check this step-by-step tutorial that will walk you through the creation of a full-fledged dashboard with this library.

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
yarn
yarn start:storybook