🌍 Public
Viewing a saved revision (read-only)
7229563f6cbf4b0e97693d3659c7fcfe
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