Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

world population distribution

Public visualization

world population distribution

0 stars1🌍 Public
Jjayanthbalina@gmail.com
Last edited Apr 24, 2024
Created on Apr 22, 2024
Forked from project

This choropleth map displays world population distribution across countries, with a dropdown menu to switch between years (1980–2030) and a tooltip revealing each country’s exact population on hover. It uses `d3.csv` and `d3.json` to load population data and GeoJSON topology, then renders paths via `d3.geoPath` with a Mercator projection. A threshold `colorScale` maps population ranges to blues, while a sidebar table lists the top ten most populous countries, updated dynamically through `updateTopCountries()` whenever the selected year changes.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed