Skip to main content
100%

Wolrd Cities WIP (Globe with Panning & Zooming)

✓ Published0🌍 Public
SShad Frigui
Last edited Sep 5, 2024
Created on Sep 5, 2024

This example displays a navigable globe with panning and zooming, using a D3 orthographic projection to render landmasses and cities with a population over 50,000. It loads geographic data from the visionscarto-world-atlas and city data from a CSV sourced from the World Cities Database. The `d3.drag` behavior adjusts the globe’s rotation, while `d3.zoom` scales it, with each interaction updating the projection via `d3.geoOrthographic` and `geoPath`.

AI-generated description

A globe with panning and zooming showing cities with population of 50K or more using the World Cities Database.

MIT Licensed

Similar vizzes