🌍 Public
Viewing a saved revision (read-only)
7332ecd7e92f4a68bca02dc0c7d9369a
20 Most Populous Cities
This horizontal bar chart ranks the world’s 20 most populous cities by population, using orange hover highlights to reveal precise figures in millions. Built with D3’s `d3-selection` module, the visualization binds an array of city objects to SVG `<rect>` and `<text>` elements via `selectAll().data().join()`. Each bar’s width is scaled linearly from population data, while city names anchor on the left. Population values come from Wikipedia.
AI-generated description