Jin's Blog

Menu

How to draw Recharts with React

July 17, 2017 | 0 Minute Read

This post is based on my personal experiences.

Rechart is a composable charting library built on React Components.

Installation & How to use Recharts

  1. npm is the easiest and fastest way for recharts installation. type the following command. npm install recharts

  2. create your own charts as follow

  3. call the constructed charts on your html. ex) <div id="container"></div>

  4. Run the whole code.