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 Sep 5, 2024
Created on Sep 5, 2024
Forked from World Map

This example shows a spinning globe rendered with a Natural Earth projection, displaying landmasses and internal country borders over a graticule grid. The visualization fetches world data from avisionscarto-world-atlas URL, then uses `topojson-client` to convert the TopoJSON features into GeoJSON for rendering. The code leverages D3’s `geoNaturalEarth1`, `geoPath`, and `geoGraticule` APIs to draw the sphere, graticule, land, and country mesh paths, with the map’s scale and translation fitted to the viewport.

AI-generated description

A spinning globe.

Comments

Sign in to join the discussion.

MIT Licensed