Fork of Cities on a Globe
This interactive visualization presents a rotatable orthographic globe populated with circles representing cities of over 100,000 inhabitants, sized by population. Users can drag to rotate the globe and zoom, with low-resolution country boundaries shown during movement and higher-resolution shapes when stopped. The code uses d3.geoOrthographic, d3.geoPath, and d3.drag, with TopoJSON world atlas data for countries and a preprocessed Geonames dataset for cities. Hovering over a circle reveals a tooltip via d3-tip, displaying the city name and population.