react-bar-chart-component
v1.0.1
Published
Create a bar chart with your data
Maintainers
Readme
Getting Started with react-bar-chart-component
This is UI plugin for bar chart creation in react
First Install the plugin
To install the plugin, you can run:
npm install react-bar-chart-component --save-dev
Add <BarChart data={YourData}/> to your component.
Pass your tree array in the treeData prop
Sample Array
[ {value:20, name:'data1'}, {value:29, name:'data2'}, {value:120, name:'data3'}, {value:280, name:'data4'}, {value:200, name:'data5'}]
Note: CSS part of this bar is kept very basic to give the developer freedom to design as per individual project theme!
