Skip to main content
100%

D3v5 map example

✓ Published0🌍 Public
AAlan McConchie
Last edited Oct 4, 2018
Created on Oct 4, 2018

A world map rendered in SVG shows populated places as green circles sized by population. The visualization uses d3.geoEqualEarth projection with d3.geoPath to draw the landmasses from a GeoJSON world dataset, while city coordinates are projected from a second GeoJSON file of populated places. Circle radii initially reflect maximum population, then animate via a five-second transition to minimum population values. The example loads both datasets with Promise.all and d3.json, with all rendering handled through SVG elements.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes