Skip to main content
Public

Share visualization

Loading preview…

Interactive Globe Panning and Zoom Optimization

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

Viewing a saved revision (read-only)

mRPuZzUQspw9B-xpvamYV

Interactive Globe Panning and Zoom Optimization

0
CCurran Kelleher
Last edited Nov 25, 2026
Created on Nov 12, 2026

This interactive globe visualization displays the global network of submarine communication cables, with each cable colored according to its properties. Users can drag to rotate the Earth and scroll to zoom, with the orthographic projection updating in real time. The visualization uses D3’s `geoOrthographic`, `geoPath`, `geoGraticule`, and `drag`/`zoom` APIs, with world geometry from TopoJSON and cable data from TeleGeography’s open-source repository. The rendering itself is straightforward SVG paths for countries, graticules, and lines.

Submarine cable globe

Orthographic canvas globe of world countries and submarine cables.

Controls

  • Desktop: drag to rotate, scroll wheel / trackpad to zoom.
  • Mobile: one finger drags to rotate, two-finger pinch to zoom.

The soft canvas glow (shadowBlur) is drawn only while the globe is idle. It is turned off during drag, wheel zoom, and pinch so interaction frames stay cheaper, then restored once input stops.

Scrollbars are hidden; the globe fills the viewport.

References

MIT Licensed