CO2 Emissions Over Time
This stacked area chart visualizes CO2 emissions over time in gigatons per year, using data from a CSV file. It shows emission levels for four categories: Hubei, relative, social, and public, with the total represented as stacked areas. The visualization is built with D3 v4 and rendered as an SVG, using APIs such as `d3.stack()`, `d3.area()`, `d3.axisBottom()`, and `d3.axisLeft()` to construct the chart. The `d3-area-label` library positions text labels within each area, while a color scale from `d3-scale-chromatic` distinguishes the categories. The chart updates responsively to the window size.
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.