Skip to main content
100%

World map cities & countries population

✓ Published0🌍 Public
VVAbhiram99
Last edited Apr 12, 2023
Created on Apr 12, 2023

This visualization presents a global map depicting both country-level population and major city populations. It uses a natural Earth projection, which can be rotated through a spin parameter. Country population density is encoded through fill opacity, while city population determines circle size using a square root scale. The map renders SVG elements via React, using d3-geoPath for geographic features, d3-geo-projection for the projection, and TopoJSON loaded from world-atlas. Hovering reveals country names and formatted population values, with cities also displaying their populations. Data comes from CSV sources for cities and country populations.

AI-generated description
MIT Licensed

Similar vizzes