Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Area Chart (CO₂ vs GDP-sorted Countries, 2025)

Public visualization

Viewing a saved revision (read-only)

103733b5b3d748439ed6ee9e1cf1a57e

Area Chart (CO₂ vs GDP-sorted Countries, 2025)

0 stars0🌍 Public
Vvunnamnandini13@gmail.com
Last edited Oct 26, 2025
Created on Oct 26, 2025
Forked from HTML Starter

This area chart displays CO₂ emissions across countries sorted by GDP per capita for 2025, using a monotone-curved blue fill. The visualization loads CSV data from a GitHub gist via `d3.csv`, then applies `d3.scalePoint` for the categorical x-axis and `d3.scaleLinear` for the y-axis. The `d3.area()` generator with `curveMonotoneX` renders the shaded region, while SVG axes with rotated country labels handle the presentation.

AI-generated description