c3js-react

0.1.1 • Public • Published

react-c3

simple react wrap for c3

import Chart from 'c3js-react'

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

<Chart data={data} />

see demo with react storybook: npm run storybook

Readme

Keywords

Package Sidebar

Install

npm i c3js-react

Weekly Downloads

1

Version

0.1.1

License

MIT

Last publish

Collaborators

  • ruanyu1