The tutorial is designed under the idea of learning by doing. We assume that you have some familiarity with JavaScript and D3. But if you need to review JavaScript and D3, the following guides are recommended:
This tutorial mainly contains two parts:
- Introduction to basice React conpects
- Making a scatter plot by using D3 and React together
We will build a scatter plot in this tutorial. The dataset we used is the trip histories data of Citi Bike, originally from Citi Bike System Data. We modified the trip data of 2020 by removing/aggregating some columns and rows. Here is the link of our dataset: Citi Bike 2020. It has eight