Canvas Globe with cities
This example visualizes the locations and populations of cities from the MaxMind WorldCities database (~48,000 points) on a rotatable and zoomable orthographic globe. It renders the graticule, landmasses, and city points using the Canvas API, with d3.geoOrthographic projection and d3.geoPath for geographic mapping. The visualization is interactive, supporting both pan and zoom gestures through d3.zoom, which updates the projection’s rotation and scale. The city data includes a subset of major world cities with their names, populations, and coordinates.
AI-generated descriptionA globe with pan and zoom showing all cities with population data from the MaxMind WorldCities database (~48k cities).
The globe is rendered with canvas. Also compare:
Canvas Globe with cities - buffered
Built with blockbuilder.org
forked from <a href='http://bl.ocks.org/larsvers/'>larsvers</a>'s block: <a href='http://bl.ocks.org/larsvers/dab7c2d6ea5ab964d10df0ef1470b90e'>Canvas Globe with cities</a>
forked from <a href='http://bl.ocks.org/Sazerland/'>Sazerland</a>'s block: <a href='http://bl.ocks.org/Sazerland/1f3dd23be302ac327794788c71f69528'>Canvas Globe with cities</a>