Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

CO2 Per Capita OverTime

Public visualization

Viewing a saved revision (read-only)

772ec8f5335d401b9a2e277b301e6676

CO2 Per Capita OverTime

0 stars0🌍 Public
Ssrisailapu.rc@gmail.com
Last edited Apr 2, 2025
Created on Apr 2, 2025
Forked from D3 Starter

This line chart visualizes global CO₂ emissions per year, filtering the dataset to the “World” country and plotting emissions over time with a red monotone curve. The visualization uses D3 v7 to load CSV data via `d3.csv`, create linear scales with `d3.scaleLinear`, generate the path with `d3.line` and `curveMonotoneX`, and render axes with `d3.axisBottom` and `d3.axisLeft`. The SVG output is fixed at 900 by 500 pixels, with a 50-pixel margin, and the chart is unadorned beyond the axes and line.

AI-generated description