Fork of Cities on a Globe
This interactive globe visualization displays cities with over 100,000 inhabitants as circles sized by population, rendered as SVG with D3 v4. Users can pan and zoom the orthographic projection, with drag interactions updating the rotation and a zoom handler adjusting scale. The globe alternates between 110m and 50m resolution land boundaries from the World Atlas TopoJSON during motion, while city data from a GeoNames CSV is projected using `d3.geoPath`. Hovering reveals a tooltip with city name and population via `d3-tip`.
AI-generated descriptionA 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