July 2018
Intermediate to advanced
164 pages
3h 15m
English
There are many graph/chart libraries available on the market, but for the sake of an example, we will use the one that is truly React-based and can deliver high performance.
$ npm i react-vis --save
We need to add library styles (this assumes that you have added the with Css plugin in the previous step):
import "react-vis/dist/style.css";
import {HorizontalGridLines, LineSeries, XAxis, XYPlot, YAxis} from 'react-vis';
// pages/index.js ... ...Read now
Unlock full access