Skip to main content
100%

Fork of ICE-7 question 4: Area chart

✓ Published2🌍 Public
Aaashrithd4
Last edited Mar 27, 2022
Created on Mar 27, 2022

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
MIT Licensed

Similar vizzes