Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignemnt 2 question 2

Public visualization

Viewing a saved revision (read-only)

b2e784388cb34673a31a3344144b8da4

Assignemnt 2 question 2

0 stars0🌍 Public
Hhaneesh@gctc.in
Last edited Apr 12, 2024
Created on Apr 12, 2024

This area chart displays the total population of India from 2010 onward, with the year on the x-axis and population count on the y-axis. The visualization is rendered as an SVG using D3.js v7, pulling data from a CSV file hosted on GitHub. It constructs a linear x-scale and y-scale, then draws a steel-blue area path using the `d3.area()` API. Axis ticks and labels are added via `d3.axisBottom` and `d3.axisLeft`, with the chart sized at 800 by 400 pixels.

AI-generated description