react-google-charts React component


Keywords
react, google, charts, area-chart, bar-chart, bubble-chart, calendar-chart, candlestick-chart, column-chart, donut-chart, gantt, gantt-chart, gauge-chart, geochart, google-charts, histogram, javascript, line-chart, org-chart, react-google-charts, typescript
License
MIT
Install
npm install react-google-charts@1.6.1

Documentation

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