Skip to main content
100%

CO2 Emissions Over Time

✓ Published0🌍 Public
Ppgy-iacas
Last edited Mar 16, 2020
Created on Mar 16, 2020

This stacked area chart visualizes global CO2 emissions over time from 1790 onward, breaking down contributions by fuel type: Gas, Liquids, Solids, Cement Production, and Gas Flaring. The chart uses d3.stack with ascending order and d3.area with curveBasis to render smooth layers, colored via d3.scaleOrdinal with schemeDark2. Labels are positioned using d3-area-label’s interpolateResolution method. The data is loaded from a CSV using d3.csv, and the SVG updates responsively on window resize. Axis ticks include a custom format for years, with a rotated y-axis title.

AI-generated description

A 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.

MIT Licensed

Similar vizzes