Size Bubbles
✓ Published1🌍 Public
A world map displays cities as semi-transparent bubbles, with bubble area scaled by population using a sqrt scale and a maximum radius of 15 pixels. The visualization uses d3.geoNaturalEarth1 projection and d3.geoPath to render landmasses, graticules, and interiors from TopoJSON world-atlas data, while city coordinates and populations come from a cleaned CSV. React manages the component state and rendering, with SVG circles positioned by projecting each city’s longitude and latitude. The map’s styling uses light gray fills for land and graticules, with teal, translucent circles for urban centers.
AI-generated descriptionA map of the world with cities using Topojson data from: 'https://unpkg.com/world-atlas@2.0.2/countries-50m.json';
MIT Licensed