Skip to main content
100%

Fork of worldmap

✓ Published0🌍 Public
Aaruna-rajeswari
Last edited Mar 8, 2023
Created on Mar 8, 2023
Forked from worldmap

This example displays a natural Earth projection world map, with countries filled in light green against a blue ocean sphere. It loads geographic data from the world-atlas TopoJSON file and converts it to GeoJSON using the `feature` method from topojson. The map is rendered as SVG paths, with the projection and path generation handled by `d3.geoNaturalEarth1` and `d3.geoPath`. A separate path outlines the globe’s sphere, while country borders use a subtle black stroke.

AI-generated description
MIT Licensed

Similar vizzes