Recharts in React js
Over the past few years, our team were satisfied with React and Redux in some projects, which are almost web applications involved to data presentation or operation. The projects need use a lot of charts which is so painful that we decided to create new chart library for React...
Recharts : Documentation
Recharts : npm installation
Recharts Components
If you want to create , any kind of charts for your react project you need to import or use some components, they are /
- ResponsiveContainer
- LineChart
- Line
- XAxis
- YAxis
line chart carries data of the chart, there in that chart you can use API or any Data ..
Line
line always carries the datakey="",
If you want to create chart in react js , you need to import data from API or you have to create Data like below example