Skip to main content
100%

Activity7.1_Question2

✓ Published0🌍 Public
Ssagipavan2385@gmail.com
Last edited Apr 11, 2025
Created on Apr 11, 2025
Forked from Hello VizHub

This visualization displays global CO₂ emissions over time as a green area chart, with the x-axis representing report years and the y-axis showing carbon output. The area chart is rendered using D3.js v7’s `d3.area()` generator, which fills the space between the line and the baseline. Data is loaded asynchronously via `d3.csv()` from a GitHub Gist, then mapped to linear scales (`d3.scaleLinear`) for positioning. Axes are added with `d3.axisBottom` and `d3.axisLeft`, and the SVG output is styled with a simple external stylesheet.

AI-generated description
MIT Licensed

Similar vizzes