d3reactor 0.0.8
Install from the command line:
Learn more about npm packages
$ npm install @oslabs-beta/d3reactor@0.0.8
Install via package.json:
"@oslabs-beta/d3reactor": "0.0.8"
About this version
An open-source library of charts for creating performant, responsive data visualizations built with React and D3.
The main goal of this library to help you create customizable charts easily.
Let's get your first d3reactor chart setup in less < 5 minutes.
npm install d3reactor
OR
yarn add d3reactor
import * as d3reactor from "d3reactor"
OR you can import each chart separately
import {AreaChart, BarChart, PieChart, ScatterPlot, LineChart} from "d3reactor"
<AreaChart
data={my_data}
xKey='my_xkey_value'
yKey='my_ykey_value'
groupBy='my_group' // if you want a multi-chart
/>
And you're good to go!