World Map with Cities with React & D3
✓ Published1🌍 Public
This map visualization displays major world cities as circles sized by population on an equal-Earth projection of the globe. Using React hooks, it loads geographic data via `useWorldAtlas` (from TopoJSON) and city data via `useCities` (from a CSV). The `Marks` component renders the sphere, graticules, land outlines, and interiors using `d3.geoPath` and `d3.geoGraticule`, while city circles are positioned by projecting coordinates and scaled with `d3.scaleSqrt`.
AI-generated descriptionLoading Data with React & D3
MIT Licensed