Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Line Chart

Public visualization

Viewing a saved revision (read-only)

2c53cf8262a84c7b8e5100bd7928935d

Fork of Line Chart

0 stars0🌍 Public
0057SatvikDamera
Last edited Mar 13, 2023
Created on Mar 13, 2023
Forked from Line Chart

This visualization presents a line chart of population over time for different countries, with the year on the x-axis and current population on the y-axis. The code uses d3.csv to load population data from a GitHub gist, then applies d3.scaleTime and d3.scaleLinear to map the data, and d3.line to generate the path. The SVG rendering includes axis labels and a title, with the line path styled in red via CSS. The example demonstrates a straightforward data-driven chart using D3 v5.

AI-generated description