Skip to main content
100%

Worldmap with cities

✓ Published2🌍 Public
DDaniel Zsido
Last edited Nov 22, 2021
Created on Nov 22, 2021
Forked from Worldmap

This example displays a world map using a Natural Earth projection, with the landmasses rendered as gray polygons and graticules overlaid. City locations are plotted as semi-transparent circles, with their radius scaled by the square root of each city's population. Built with React, the visualization uses D3.js modules `geoNaturalEarth1`, `geoPath`, and `geoGraticule` for the map projections and graticule, while `scaleSqrt` maps population values to circle sizes. City data is loaded from a CSV file, and world atlas geometries are fetched as TopoJSON, which is processed through `topojson` functions.

AI-generated description
MIT Licensed

Similar vizzes