Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Line Chart - India Population

Public visualization

Line Chart - India Population

0 stars1🌍 Public
Ssumanthsomu1
Last edited Mar 26, 2023
Created on Mar 26, 2023
Forked from Area Chart

This line chart displays India’s population over time, using a single line path to trace growth from 1960 to 2020. The visualization encodes years on a linear x-axis and population counts on a y-axis, with axes formatted via `d3.axisBottom` and `d3.axisLeft`. Data is fetched from a CSV file using `d3.csv`, then parsed into year-population pairs. The chart is rendered as an SVG using `d3.line` and `d3.scaleLinear`, with a steelblue stroke and margins applied through a translated group element.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed