Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

India GDP Area chart

Public visualization

India GDP Area chart

0 stars0🌍 Public
LLakshmiVandanaNunna
Last edited Mar 25, 2022
Created on Mar 25, 2022

This visualization displays India’s annual CO2 emissions per capita over time as a filled area chart. The area path is generated with `d3.area` and `curveBasis`, while `d3.scaleTime` and `d3.scaleLinear` map years and emission values to pixel coordinates. Axes are drawn using `d3.axisBottom` and `d3.axisLeft` with gridlines, and the data is loaded via `d3.csv` from a GitHub gist. The SVG rendering uses a maroon fill for the area, with axis labels and a title styled via CSS.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed