Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Line Chart

Public visualization

Line Chart

0 stars0🌍 Public
AAnurup Reddy
Last edited Oct 27, 2025
Created on Oct 27, 2025
Forked from HTML Starter

This line chart compares population distribution across four regional parts for eight major countries, including China, India, and the United States. Data is loaded from a remote TSV file and parsed with `d3.tsv`. The visualization uses `d3.scaleLinear` for axes, `d3.scaleOrdinal` for color mapping, and `d3.group` to organize data by country. Each country’s line is rendered as an SVG path with interactive hover dots that trigger a tooltip, while grid lines and axis labels improve readability.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed