Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Map

Public visualization

Viewing a saved revision (read-only)

40bcefadd2f843f18ec6aebe72366e9f

World Map

0 stars0🌍 Public
TTheOutstandingDinosaur
Last edited Aug 18, 2024
Created on Aug 18, 2024
Forked from Line Plot

A world map uses D3.js’s `geoNaturalEarth1` projection and `geoPath` to render landmasses, graticules, and country borders from TopoJSON data loaded via the `json` method. React manages the application state through a custom `useData` hook, which fetches and processes the world-atlas countries dataset. The SVG output displays countries in teal with red interior boundaries over a gray sphere, while graticule lines add spatial reference. The visualization adapts to the browser window size.

AI-generated description

A programme that laods using D3 and using React to keep track