World Population 1960-2019

This example uses canvas, d3, and SVG to render a chart of world population by country over the past 60 years. The axis and labels are SVG while data is painted with overlapping canvas containers. The lines and points are animated with d3.timer() and d3.interpolate().

Hover over each line to see the population for each year, and click to isolate data for a single country.

PopulationYear