Skip to main content
Public

Share visualization

Loading preview…

Mobile Submarine Cables Globe Zoom and Pan

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

Mobile Submarine Cables Globe Zoom and Pan

16
CCurran Kelleher
Last edited Nov 12, 2026
Created on Apr 11, 2024

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.

AI-generated description

Sweet spinny globe with submarine cables!

Data from TeleGeography's Submarine Cable Map (old GitHub fork). Note that this data is not up to date. For up to date data, see telegeography.com and submarinecablemap.com.

Mobile interaction

  • A single-finger or mouse drag spins the globe.
  • Touch input is handled explicitly: one finger pans, two fingers pinch-zoom. This avoids conflicts between d3-zoom's built-in touch handling and panning, which previously broke single-finger panning on mobile.
  • Desktop wheel / trackpad input zooms around the pointer.
  • Zoom is bounded relative to the initial fitted globe scale.
  • touch-action: none prevents the browser from hijacking gestures over the globe.

References

Comments

Sign in to join the discussion.

MIT Licensed