🌍 Public
Viewing a saved revision (read-only)
34c2ddac5e9744c29536c13e1938276b
ICE-7 question 4: Area chart
This area chart displays the population of India from 2000 to 2012, using a purple filled path with a smooth curve. The visualization loads CSV data from a GitHub gist and renders it as an SVG using D3 v5, employing `scaleTime` and `scaleLinear` for the axes. Key APIs include `area()` with `curveBasis` to generate the filled region, `axisBottom` and `axisLeft` for ticks, and custom formatting to abbreviate population values into billions. Axis labels and a title are added via SVG text elements.
AI-generated description