Skip to main content
Public

Share visualization

Loading preview…

Globe 1. Try

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

Globe 1. Try

0
Mmachetenwueter
Last edited Aug 9, 2021
Created on Aug 9, 2021
Forked from Cities on a Globe

This interactive globe displays cities with populations over 100,000 as steel-blue circles, with size scaled by population. Users can drag to rotate the orthographic projection and scroll to zoom, with tooltips showing city names and populations on hover. Using d3.geoOrthographic, d3.geoPath, and d3.drag, it renders low-resolution world boundaries while moving and higher-resolution 50m shapes when still. City data comes from a CSV of Geonames cities, loaded via d3.csv, with geographic shapes from TopoJSON World Atlas.

AI-generated description

A globe with pan & zoom showing circles for each city of over 100,000 inhabitants. Data from Geonames, preprocessed. The same data is used in World City Explorer.

Uses world-110m and world-50m geographic shapes from TOPOJSON World Atlas.

Inspired by

forked from <a href='http://bl.ocks.org/curran/'>curran</a>'s block: <a href='http://bl.ocks.org/curran/0bb64d8f56042e2480c908b0985f063b'>Orthographic Zoom III</a>

Imported to VizHub from bl.ocks.org: Cities on the Globe

Comments

Sign in to join the discussion.

MIT Licensed