react-billboard.js

0.1.2 • Public • Published

react-billboard.js

npm npm GitHub license

bitHound Overall Score bitHound Dependencies bitHound Dev Dependencies bitHound Code

Code Climate Issue Count

This is a fork of react-c3js adopted for billboard.js

React component for billboard.js

import BillboardChart from 'react-billboard.js';
import 'billboard/billboard.css';

const data = {
  columns: [
    ['data1', 30, 200, 100, 400, 150, 250],
    ['data2', 50, 20, 10, 40, 15, 25]
  ]
};

const mountNode = document.getElementById('react-billboardjs');

ReactDOM.render(<BillboardChart data={data} />, mountNode);

You can see the docs for more details.

Installation

$ npm install --save react-billboard.js

Contributing

Please feel free to add pull requests.

NPM

  1. Modify src/index.js.
  2. Build the lib by using npm run build
  3. Import BillboardChart from react-billboard.js.
  4. Enjoy the result.

Properties

Check out billboard.js Reference for more details.

License

MIT

Package Sidebar

Install

npm i react-billboard.js

Weekly Downloads

1

Version

0.1.2

License

MIT

Last publish

Collaborators

  • my8bit