Skip to main content
100%

CO2 vs Population Scatter Plot

✓ Published0🌍 Public
Ssrisailapu.rc@gmail.com
Last edited Apr 2, 2025
Created on Apr 2, 2025
Forked from D3 Starter

This interactive scatter plot displays the relationship between population and CO2 emissions for various countries over time, with a year slider controlling which time slice is visible. Each country is represented as a circle, sized by CO2 per capita and colored by country, with a tooltip showing precise values on hover. The visualization uses D3 v7 with `d3.csv` to load data, `d3.scaleLinear` and `d3.scaleSqrt` for axes and sizing, and `d3.axisBottom`/`d3.axisLeft` for chart axes. SVG rendering places circles, axes, and a country legend, while the slider input triggers a complete redraw of the chart elements for each selected year.

AI-generated description
MIT Licensed

Similar vizzes