Using Size
✓ Published1🌍 Public
This example displays a world map using Natural Earth data, with city points sized by population. The visualization uses a square-root scale to map population values to circle radii, with a maximum radius of 12 pixels. Built with React and D3 v5, it employs `geoNaturalEarth1` projection, `geoPath` for rendering land and graticules, and the `scaleSqrt` API for size encoding. The map is styled with a light color palette and semi-transparent teal circles, presenting an aesthetically polished geographic view.
AI-generated descriptionA world map showing country boundaries from World Atlas TopoJSON, polished for visual style, including graticules.
MIT Licensed