🌍 Public
Viewing a saved revision (read-only)
ee007fd4f12244f1b1f7202fe56817a9
Fork of ICE-7 question 4: Area chart
This area chart displays the population of India from 2000 to 2012, with years on the x-axis and population on the y-axis. The chart uses D3 v5 APIs including `scaleTime`, `scaleLinear`, `area`, and `curveBasis` to generate a smooth filled path rendered as SVG. Data is loaded as CSV from a GitHub gist, with population values parsed as numbers and years as dates. Axis ticks are formatted using `format('.1s')`, replacing 'G' with 'B' for billions.
AI-generated description