- Clone the repo.
- Install
yarnand runyarn install. - Start react app using
yarn startto run preview app. - Create new component called
LinePlotinsrc/plots/LinePlot.js. - Import
LinePlotcomponent toAppcomponent (src/App.js) to see it in the preview app. - Import necessary components (
Plot,GeomLine, etc.). - Create plot that looks like this one:
pawelchabros/react-plot-exercise
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
