Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Spinning Globe

Public visualization

Viewing a saved revision (read-only)

2a94e8167e8e457fa035bcd087e678e5

Fork of Fork of Spinning Globe

0 stars0🌍 Public
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
MIT Licensed