Skip to main content
100%

world map

✓ Published0🌍 Public
Ddivyagunuguntla
Last edited Apr 4, 2022
Created on Apr 4, 2022

This example renders a world map using the Natural Earth projection, displaying country boundaries as green SVG paths with yellow strokes on a green background. It fetches geographic data from the world-atlas TopoJSON dataset and converts it to GeoJSON features using the `feature` function from topojson. The visualization uses d3.geoPath with d3.geoNaturalEarth1 to project and draw the paths, while d3.json loads the remote dataset asynchronously before appending the country shapes to the SVG canvas.

AI-generated description
MIT Licensed

Similar vizzes