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