🌍 Public
Viewing a saved revision (read-only)
8c283f35a9d04a7ea6fff559ec19ab43
India Population Line Chart
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 descriptionA demonstration of how to start using D3 version 6.