This repository has been archived by the owner on May 18, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 179
API
Matthew Herbst edited this page May 5, 2015
·
11 revisions
Wiki ▸ API
At the moment, react-d3 only officially supports Node/NPM/browserify, although a minified browser build is also available under dist/public/js
. Everything in the web build is scoped to the rd3
global variable name.
Using Browserify, you can import react-d3
to a variable name of your choosing. Throughout the documentation, the top-level variable name rd3
is used:
var rd3 = require('react-d3');
react-d3 uses semantic versioning. Using the above example of rd3
as library name, the current version of react-d3 would available under rd3.version
.
(All charts implement the common base Chart, which can be of form BasicChart or LegendChart.)
- Cartesian Charts (charts which implement the CartesianChartPropsMixin)
- CandlestickChart
- PieChart
- Treemap
- Issues: react-d3 issues on Github
- Support: react-d3 Google Groups email list