Skip to main content
100%

Points on a Map with Size

✓ Published1🌍 Public
CChris Knight
Last edited Jun 28, 2022
Created on Jun 28, 2022
Forked from Points on a Map

A world map displays cities as semi-transparent circles, with circle size encoding each city’s population using a square-root scale. The map renders geographic landmasses, graticules, and country borders from the World Atlas TopoJSON, projected with `d3.geoNaturalEarth1`. City data loads from a CSV via `d3.csv`, while React components manage state and render the SVG, using `d3.geoPath` to draw map features and `d3.scaleSqrt` for sizing.

AI-generated description

World map using topojson of World Atlas

MIT Licensed

Similar vizzes