Skip to main content
100%

World Map with Cities Size

✓ Published1🌍 Public
Ssmile2git
Last edited Jun 6, 2021
Created on Jun 6, 2021

This example presents a world map with circles sized proportionally to city populations, using an equirectangular projection. The visualization layers country landmasses, interior boundaries, and graticules from World Atlas TopoJSON data, with city positions plotted from latitude and longitude coordinates. The code uses d3.geoPath for map rendering, d3.scaleSqrt for circle sizing, and React hooks to load CSV city data and TopoJSON topology. All marks render as SVG elements within a React component structure, with styling applied through CSS classes.

AI-generated description

A world map showing country boundaries from World Atlas TopoJSON, polished for visual style, including graticules.

MIT Licensed

Similar vizzes