d3-react-starterkit
v0.0.17
Published
D3 with React
Downloads
8
Readme
React and D3 Charting
Modular ReactJS charts made using d3 chart utilities.
Usage
The latest version of react-d3-responsive requires React 0.14 or later and D3 3.5.17.
NPM
Via npm
:
npm install d3-react-starterkit
If you havn't installed react
and d3
then:
npm install react react-dom
npm install [email protected]
Import into your ReactJS project one of the following ways:
// es6
import d3r from 'd3-react-starterkit';
// es5
var d3r = require('d3-react-starterkit');
Available Charts
const AreaGraph = d3r.AreaGraph;
const BarGraph = d3r.BarGraph;
const LineGraph = d3r.LineGraph;
const PieChart = d3r.PieChart;
const ScatterPlot = d3r.ScatterPlot;
Support
Issues: d3-react-starterkit on Github
Background
Inspired by this blog post by Abhisek Jana of A Developer Diary
Also referencing rd3 by Yang Wei for structure
License
MIT
Copyright (c) 2016 Drew Thorson