Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Spinning Globe

Public visualization

Viewing a saved revision (read-only)

e9616654749e447fbe636480cc71606b

Spinning Globe

0 stars0🌍 Public
Sstchiang
Last edited Mar 30, 2023
Created on Mar 30, 2023
Forked from Simple World Map

A world map spins continuously to show all continents and the graticule grid, rendered as an orthographic projection that creates the illusion of a rotating globe. The code uses `d3.geoOrthographic`, `d3.geoPath`, and `d3.geoGraticule` to draw the sphere outline, graticule, and country borders, with data loaded from the visionscarto world-atlas TopoJSON file via `topojson-client`. Animation is driven by `requestAnimationFrame` in React, updating the projection’s rotation array each frame.

AI-generated description
MIT Licensed