🌍 Public
Viewing a saved revision (read-only)
a6ea17242f7a44c9b0bf8b7b18b0c965
CO2 Emissions Over Time
This example displays a stacked area chart of global CO2 emissions over time, broken down by source categories such as gas, liquids, and cement production. It uses D3.js with React, rendering as SVG. The code applies a time scale for the x-axis and a linear scale for the y-axis, with d3.area to draw the stacked paths and d3.areaLabel to position labels. Data is loaded from a CSV file and filtered to exclude dates before 1790.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.