Skip to main content
100%

Assignemnt 2 question 2

✓ Published0🌍 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
MIT Licensed

Similar vizzes