This project was bootstrapped with Create React App.
The component receives the props type
for the type of graphic, data
that has the graphic information, width
and height
. The options
key includes other customizable stuff like tooltips, labels, axes, and more. information, width
and height
. The options
key includes other customizable stuff like tooltips, labels, axes, and more.
Props
Property | Type | Required? | Description |
---|---|---|---|
type | String | Specifies the graphic type | |
data | object | ✓ | Specifies the data |
width | Number | Specifies the width | |
heigth | Number | Specifies the type |
To build the examples locally, run:
npm install
npm start
Then open localhost:8000
in a browser.