🌍 Public
Viewing a saved revision (read-only)
2a810332a34b49f7a5a20dd31e5d1ac2
Fork of Basic Scatter Plot with React & D3 Emissions
This example uses a React app to render a basic scatter plot of CO2 emissions over time. The chart displays data points for various countries and regions from 1960 onward, sourced from a CSV file. The visualization is created using D3.js version 7, with the `select`, `csv`, `scaleLinear`, and `extent` APIs. A React `useEffect` hook loads the data and calls a custom `viz` function to render circles, mapping the year to the x-axis and emission value to the y-axis.
AI-generated description