Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE-7 question 4: Area chart

Public visualization

Viewing a saved revision (read-only)

dcbed1753545432b84e7f9908469f822

ICE-7 question 4: Area chart

0 stars1🌍 Public
Ssowmyanagula@my.unt.edu
Last edited Mar 27, 2022
Created on Mar 27, 2022

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