Description
react-c3js is a React component for C3.js, the chart library built on D3. You render a chart as a React component and pass C3 options as props, so the chart fits into a React app like any other part of the interface. The README points to the C3.js reference for the full list of options, and the component accepts props for data, title, size, padding, color, interaction, transitions and the chart type settings for axis, grid, regions, legend, tooltip, subchart and zoom. Chart types include line, area, bar, pie, donut and gauge. Callback props such as oninit, onrendered, onmouseover and onresized let your code respond to chart events, and onPropsChanged runs when the props change. The package installs from npm or yarn, and the README includes a Docker option for development. Contributors edit src/index.js, build the library with npm run build or make build, and import C3Chart from the package to see the result. It is released under the MIT license.…
Highlights
- React component for C3.js charts
- Chart options passed as props
- Line, area, bar, pie, donut and gauge charts
- Callbacks for render, resize and mouse events
- MIT license
Ratings & Reviews
No ratings yet
Be the first to rate react-c3js.
People also visit
react-c3js FAQ
What is react-c3js?
A React component for drawing C3.js charts inside a React app.
How do I configure a chart?
Pass C3 options as props, such as data, axis, legend or tooltip. The README points to the C3.js reference for the full list.
Which chart types does it support?
The props list includes line, area, bar, pie, donut and gauge charts.
How do I install it?
Install it from npm or yarn. The README also covers a Docker setup for development.
What license is it under?
MIT, as stated in the README.
What are the best react-c3js alternatives?
Popular alternatives to react-c3js include react-chartjs, react-vis and react-google-charts. See all react-c3js alternatives





















