Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Population Distribution

Public visualization

Viewing a saved revision (read-only)

9cbe5b7468cd4a8889b2585eed4f526a

Fork of Population Distribution

0 stars0🌍 Public
DDouglas mochama
Last edited Apr 26, 2024
Created on Apr 26, 2024

This interactive choropleth maps world population by country, with a dropdown to switch between years (1980–2030) and a sidebar ranking the top ten most populous nations. It uses D3 v6 with `d3.geoPath`, `d3.geoMercator`, and a `d3.scaleThreshold` color scale, pulling CSV data from a GitHub repository and GeoJSON country boundaries. Hovering reveals a tooltip with the country name and population, while the map redraws on year selection.

AI-generated description