Fork of CO2 Emissions Over Time
This stacked area chart shows global CO2 emissions over time, segmented by fossil fuel sources including gas, liquids, solids, cement production, and gas flaring. The visualization uses d3.stack and d3.area to render the layered paths, with labels positioned automatically via d3-area-label. Data is loaded from a CSV file, and emissions values are converted from raw numbers to gigatons. The chart updates responsively on window resize, and includes hover effects that darken each area, with axis labels and a custom y-axis title.
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.