World Cities Population
This visualization depicts global city populations on a natural Earth projection, where each city is a white circle scaled by population, with one pixel per 25,000 people. Hovering reveals city names and population counts. The code uses d3.geoNaturalEarth1, d3.geoPath, and d3.scaleSqrt to project and size the circles, while d3.zoom enables pan and zoom interaction. Data comes from the world-atlas TopoJSON for country outlines and a worldcities CSV file.
AI-generated descriptionA world map showing cities and its population.
Refrred the code from this visualization - https://blocks.roadtolarissa.com/curran/752b97cef3f880a813ab
City is represented by circles. The larger the circle, the higher the population. Each pixel in the circle represents 25000 people in the city. The density of the populace can be inferred from the circles' overlapping and increasing brightness. We can hover over the cities to see their names and population.