Unlisted
Viewing a saved revision (read-only)
20f33168a2fa4cbaa3706dc040d83cd1
CCurran Kelleher
Last edited Sep 23, 2025
Created on Sep 22, 2025
Forked from CO2 emissions vs Year Project prototype v1
This interactive visualization displays CO2 emissions trends over time, featuring a toggle between a multi-line chart and a color-coded world map. The line chart uses d3.scaleLinear axes and d3.line to plot yearly emissions for each country, with a dashed annotation marking the 1990 Soviet Union collapse. The alternative map view renders world.svg regions with randomly generated colors applied via createColorTable. Data is loaded from a CSV file using d3.csv. The application is built with React, managing window resizing and view toggling through state.
AI-generated description