Skip to main content
100%

Fork of Topojson World Map

✓ Published0🌍 Public
Ccp571999
Last edited May 25, 2023
Created on May 25, 2023
Forked from Topojson World Map

This example shows a world map rendered with a natural Earth projection, displaying country boundaries as green filled paths with subtle black strokes. The visualization loads geographic data from the world-atlas TopoJSON file and converts it to GeoJSON features using topojson’s `feature` method. The map is drawn with d3.geoPath and the d3.geoNaturalEarth1 projection, while a spherical outline is added as a distinct path. The code leverages d3.v5’s selection and data-joining capabilities to append each country’s path to an SVG.

AI-generated description
MIT Licensed

Similar vizzes