🌍 Public
world map with the world Topojson data
This example displays a world map rendered as white countries with black borders on a green background. It uses D3 v5 and TopoJSON to load world-atlas data from a CDN, then projects the geographic features with a Natural Earth projection via `geoNaturalEarth1()` and draws them using `geoPath()`. The `feature()` function from TopoJSON converts the TopoJSON topology into GeoJSON for binding to SVG paths.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed
Comments
Sign in to join the discussion.