Skip to main content
100%

CO2 Emissions Over Time

✓ Published0🌍 Public
PPriyaEnuganti
Last edited Jul 2, 2022
Created on Jul 1, 2022
Forked from Face by priya

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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes