Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of worldmap

Public visualization

Viewing a saved revision (read-only)

e55b11eb4d8040468c1f2621ecba3080

Fork of worldmap

0 stars0🌍 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