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
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