Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Spinning Globe

Public visualization

Fork of Fork of Spinning Globe

0 stars0🌍 Public
Ool.ritter@web.de
Last edited Feb 22, 2024
Created on Feb 22, 2024

This example shows an animated orthographic projection of the world, with countries rendered as filled paths and a graticule overlay, all rotating in three dimensions. The animation is driven by `projection.rotate` from `d3.geo`, adjusting the view based on state changes. It uses `d3.geoPath` to project the map, `d3.geoGraticule` for the grid, and fetches country boundaries from the `visionscarto-world-atlas` as TopoJSON, which is converted to features via `topojson-client`. The rotation is updated each frame using `requestAnimationFrame` to create a spinning globe effect.

AI-generated description

A spinning globe!

See also:

Comments

Sign in to join the discussion.

MIT Licensed