Skip to main content
100%

World Map

✓ Published0🌍 Public
RRevanthReddyG
Last edited Jul 10, 2022
Created on Jul 10, 2022
Forked from World Map

This example displays a world map rendered as an SVG, with each country filled in green and outlined with blue strokes. It projects the geographic data using the Natural Earth projection via `d3.geoNaturalEarth1` and generates paths with `d3.geoPath`. The code loads country boundaries from a TopoJSON file using `d3.json` and the `topojson.feature` API, then binds the resulting GeoJSON features to SVG path elements. The map is drawn on a static canvas without interactivity.

AI-generated description
MIT Licensed

Similar vizzes