🌍 Public
CO2 Emissions Over Time
This stacked area chart visualizes global CO2 emissions over time, breaking down contributions from gas, liquids, solids, cement production, and gas flaring. It uses an SVG rendering with d3.v4’s `d3.stack`, `d3.area`, and `d3.scaleTime` to construct the layers, with labels positioned by the `d3-area-label` library. The color scale employs `d3.scaleOrdinal` with `d3.schemeDark2`, and hovering a region turns it black. Data comes from a CSV of annual emission gigatons, with axes labeled accordingly.
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.
MIT Licensed
Comments
Sign in to join the discussion.