react-d3/react-d3-shape

Name: react-d3-shape

Owner: react-d3

Description: react-d3 shapes, such as line, scatter, bar, bar stack ... and more.

Created: 2015-12-13 09:59:21.0

Updated: 2017-10-08 10:28:04.0

Pushed: 2017-10-18 18:53:44.0

Homepage:

Size: 823

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits
Rob McGuire2016-04-30 12:36:13.01
Ben Howes2016-03-18 17:28:23.01
Howard Chi2016-07-13 05:45:27.035
Johannes Walleboom2016-03-08 15:17:19.01
Udo Nkwocha2016-06-15 12:27:33.018
Quincy Poon2016-04-23 19:01:39.01
Vartika Bhati2016-07-22 01:36:38.015

Other Committers

UserEmailMost Recent Commit# Commits
dovydendovyden@yandex-team.ru2016-06-29 10:01:23.01
Jonathan Jonesjonathan.jones@lodestarbpm.com2016-03-18 12:57:48.01
Udo Nkwochankudo@users.noreply.github.com2016-04-24 10:53:21.02

README

react-d3-shape

Dependency Status

react-d3 basic shapes, shapes that we support:

Install
install --save react-d3-shape
Quick example
Building Line Chart, with Area Chart and Scatter Plot
>
hart
width= {this.state.width}
height= {this.state.height}
data= {generalChartData}
chartSeries= {this.state.series}
x= {x}
>
<Line
  chartSeries= {this.state.series}
/>
<Area
  chartSeries= {this.state.series2}
/>
<Scatter
  chartSeries= {this.state.series2}
<Xaxis/>
<Yaxis/>
<Xgrid/>
<Ygrid/>
Chart>
v>
Develop
do npm i
de devServer.js

and open localhost:5000/example

Build production js, min.js code

m run prod
License

Apache 2.0


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.