Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Spinning Globe

Public visualization

Spinning Globe

0 stars0🌍 Public
SShad Frigui
Last edited Aug 22, 2024
Created on Aug 22, 2024
Forked from Spinning Globe

A spinning globe rendered with an orthographic projection animates its rotation around the y-axis. The visualization displays country boundaries and a graticule over a dark background, with a visible sphere outline. The code uses d3-geo’s `geoOrthographic`, `geoPath`, and `geoGraticule` functions to draw the map, and requests animation frames via `requestAnimationFrame` to update the projection’s `rotate` property. World country data comes from the visionscarto-world-atlas TopoJSON file processed with `topojson-client`.

AI-generated description

A spinning globe!

See also:

Comments

Sign in to join the discussion.

MIT Licensed