Skip to main content
100%

world population distribution

✓ Published1🌍 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
MIT Licensed

Similar vizzes