Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Map

Public visualization

Viewing a saved revision (read-only)

675cc9e2f26e4183a8a8035db9ef6bbc

World Map

0 stars0🌍 Public
BBhavanaGIrni
Last edited Jul 22, 2023
Created on Jul 22, 2023
Forked from HTML Starter

This example renders a natural Earth projection world map as an SVG, using light yellow for the ocean sphere and light blue for landmasses with white stroke outlines. It loads world topology from the world-atlas TopoJSON file via D3’s `json` method, converts it to GeoJSON using TopoJSON’s `feature` function, and draws paths with `d3.geoPath` and `d3.geoNaturalEarth1`. The implementation relies on D3 v5 selections and the topojson client library to visualize country boundaries.

AI-generated description