Untitled
✓ Published0🌍 Public
This example displays a world map with cities whose populations exceed 50,000, using circles sized by population via a square-root scale. It renders country boundaries and graticules using `d3.geoPath` with TopoJSON data from World Atlas, while city locations come from the Simplemaps World Cities Database. The React app uses `useWorldAtlas` and `useCities` custom hooks to load data, then passes a size scale and value accessor to a `Marks` component that draws the SVG output.
AI-generated descriptionA world map showing cities with population greater than 50,000. City data from Simplemaps: World Cities Database.
Country boundaries from World Atlas TopoJSON, polished for visual style, including graticules.
MIT Licensed