Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of worldmap

Public visualization

Viewing a saved revision (read-only)

badd8e3fa87746de85362b3b9a775354

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