Skip to main content
100%

Spinning Globe

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

Similar vizzes