Skip to content

KyleAMathews/react-micro-bar-chart

Repository files navigation

react-micro-bar-chart

React component for micro bar-charts rendered with D3. Companion to react-sparkline.

Install

npm install react-micro-bar-chart

Usage

Intended for simple micro-charts.

var MicroBarChart = require('react-micro-bar-chart');

<MicroBarChart data={anArrayOfNumbers} />

See the demo for more examples.

Demo

http://kyleamathews.github.io/react-micro-bar-chart/