Skip to main content
100%

Points on a Map Using Size

✓ Published1🌍 Public
OOleg Zhernovoy
Last edited Nov 29, 2022
Created on Nov 29, 2022
Forked from Points on a Map

A world map displays cities as semi-transparent teal circles, with each circle’s radius scaled by the square root of the city’s population. The basemap is rendered using `d3.geoNaturalEarth1` and `d3.geoPath` from the D3 v7 library, with graticules and land interiors styled via CSS. City coordinates from a CSV file are projected and drawn as SVG circles, sized using D3’s scaleSqrt. The code integrates React for UI management and fetches topology data from the World Atlas TopoJSON.

AI-generated description

A World Map using World Atlas

MIT Licensed

Similar vizzes