Fork of CO2 Emissions Over Time
✓ Published0🌍 Public
This stacked area chart visualizes global CO2 emissions over time, broken down by source: gas, liquids, solids, cement production, and gas flaring. Data is sourced from a CSV file and rendered as SVG. Label placement is automated using the d3-area-label library, while d3.stack and d3.area build the layers. A d3.scaleOrdinal with d3.schemeDark2 assigns colors, and the chart updates on window resize.
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