Skip to main content
100%

World Map

✓ Published0🌍 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

MIT Licensed

Similar vizzes