Skip to main content
Public

Share visualization

Loading preview…

Fork of 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 Fork of Spinning Globe

0
Kkskvsrima@gmail.com
Last edited Aug 11, 2026
Created on Aug 11, 2026

This example presents an orthographic projection of the world as a spinning globe, with country borders and labels rendered on a dark background. The animation continuously rotates the globe using requestAnimationFrame, while a custom function calculates point visibility to ensure labels only appear on the visible hemisphere. The code uses D3’s `geoOrthographic`, `geoPath`, and `geoGraticule` for map rendering, and `topojson-client` to parse the Natural Earth data from visionscarto-world-atlas. India is deliberately filtered out from the country features.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed