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.