CO2 Emissions Over Time
A stacked area chart visualizes global CO2 emissions from 1790 onward, broken down into five categories: Gas, Liquids, Solids, Cement Production, and Gas Flaring, measured in gigatons per year. The chart uses `d3.stack` to aggregate the series and `d3.area` with `d3.curveBasis` for smooth rendering as SVG paths. Labels are positioned automatically via `d3-area-label`, while axes and color encoding rely on `d3.scaleTime`, `d3.scaleLinear`, `d3.scaleOrdinal`, and `d3.schemeDark2`. Data comes from a CSV file loaded with `d3.csv`.
AI-generated descriptionA stacked area chart of Global CO2 Emissions.
The segments "Solids", "Liquids", and "Gas" are the forms of fossil fuels being burned.
Uses d3-area-label to position labels.
Inspired by Scott Judson’s Block: Global Carbon Emissions Area Chart.