🌍 Public
Spinning Globe
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 descriptionA spinning globe.
MIT Licensed








Comments
Sign in to join the discussion.