Skip to main content
100%

Line Chart: Population of India

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

This line chart visualizes the population of India from 2010 to 2019 using data fetched from a CSV file. A single steelblue line traces the population trend across the years, with labeled x- and y-axes rendered via SVG. The code leverages D3 v6’s `d3.csv` for data loading, `d3.scaleLinear` for coordinate mapping, and `d3.axisBottom` and `d3.axisLeft` for tick marks. The chart is embedded directly as an SVG within an HTML page, with styling applied through CSS.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes