Skip to main content
100%

Points on a map sized circles

✓ Published1🌍 Public
FFrederick O'Brien
Last edited Jan 6, 2022
Created on Jan 5, 2022
Forked from Points on a map

A world map displays cities as green circles sized by population using a square root scale. The example combines a Natural Earth projection with D3 v7’s `geoPath` and `geoGraticule` to render landmasses, borders, and graticules in SVG, while React manages component state and data loading. City coordinates and population values come from a CSV file, loaded via `d3.csv`, and the atlas topology is fetched from the world-atlas package. Circle radii range from zero to twenty pixels, with semi-transparent fill for overlap visibility.

AI-generated description

A scatter world map built with D3 and React.

MIT Licensed

Similar vizzes