Skip to main content
100%

Fork of Basic Scatter Plot with React & D3 Emissions

✓ Published0🌍 Public
BBrian Hulbert
Last edited Sep 10, 2025
Created on Sep 8, 2025

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
MIT Licensed

Similar vizzes