Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Line chart

Public visualization

Line chart

0 stars3🌍 Public
MMahesh
Last edited Apr 2, 2025
Created on Apr 1, 2025

This line chart visualizes population growth in India from 1950 to 2024, with the x-axis showing years and the y-axis displaying the population growth rate. The visualization uses D3.js v7 to load CSV data from a GitHub gist, then constructs an SVG chart with linear scales, gridlines, and axis labels. The line path is generated with `d3.line()` and a monotone x curve, while axis formatting applies comma separators to large numbers. Styled with a dark red stroke on a white background, the chart includes dashed gridlines and a rotated y-axis label for clarity.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed