Skip to main content
100%

Fork of CO2 Emissions Over Time

✓ Published0🌍 Public
Kkyleholgate
Last edited Jul 29, 2021
Created on Jul 29, 2021

This stacked area chart visualizes global CO2 emissions over time, broken down by fossil fuel type—gas, liquids, solids, cement production, and gas flaring. It uses a time-scaled x-axis and a linear y-axis measuring gigatons per year, with hover effects that darken each segment. Built with D3 v4, it loads CSV data and renders SVG paths via `d3.area` and `d3.stack`. Label placement leverages `d3.areaLabel` from the d3-area-label library. The chart updates responsively with window resize events.

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