Skip to main content
Public

Share visualization

Loading preview…

Fork of Spinning Globe

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of Spinning Globe

0
AArshia Eihami
Last edited Mar 16, 2026
Created on Mar 16, 2026
Forked from Spinning Globe

A spinning globe made with d3-geo shows countries in a black-and-white orthographic projection, automatically rotating around the vertical axis as graticule lines and a sphere outline remain visible. Using `geoOrthographic`, `geoPath`, and `geoGraticule`, it renders country polygons from TopoJSON data fetched from the visionscarto-world-atlas via `topojson.feature`. Animation is driven by `requestAnimationFrame` and `setState`, decrementing the projection’s rotation along the longitude axis. Both `map.js` and `index.js` coordinate state updates to redraw the globe smoothly, making it suitable for observing the distribution of land and sea over time.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed