Skip to main content
100%

India Population Line Chart

✓ Published0🌍 Public
Ssumanthsomu1
Last edited Mar 26, 2023
Created on Mar 26, 2023
Forked from D3 Starter

This line chart visualizes India's population growth over time, using a green line to show annual values. The chart loads a CSV dataset, renders axes with rotated labels, and draws the line with `d3.line()`. It uses D3 v6’s `d3.csv()` for data ingestion, `d3.scaleBand()` for the categorical year axis, and `d3.scaleLinear()` for the population range, outputting as an SVG element.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes