Skip to main content
100%

CO2 Per Capita OverTime

✓ Published0🌍 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
MIT Licensed

Similar vizzes