🌍 Public
Viewing a saved revision (read-only)
6fd62bfad7794c7c935100aa3c3e0b4d
Points on a Map React & D3 (codeAlong)
This map visualization displays world cities as semi-transparent circles sized by population on a Natural Earth projection. Built with React and D3 v6, it uses `d3.geoNaturalEarth1` and `d3.geoPath` to render land masses, graticules, and country interiors from TopoJSON data, while `d3.scaleSqrt` maps city populations to circle radii. City coordinates from a CSV dataset are projected onto the SVG canvas, with D3’s `csv` loader fetching the data asynchronously.
AI-generated descriptionLoading topojson and convert in memory to geojson, then render to make a map.
Add points to the map.
tutorial Vid 8:47