Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

HW1 Q3 MS

Public visualization

Viewing a saved revision (read-only)

4d3b7b44cc5b418db7e56717638afc9a

HW1 Q3 MS

0 stars0🌍 Public
Mms-aus
Last edited Aug 30, 2019
Created on Aug 30, 2019

This bar chart displays the population of the world's ten most populous cities, sorted by metropolitan population in descending order, using data from `worldData.csv`. The chart is rendered using D3.js, specifically employing `scaleLinear` and `scaleBand` for the x and y axes, with `axisBottom` and `axisLeft` to generate the axes. The visualization is built by creating rectangles for each bar, with a pink background and steelblue bars, and includes formatted axis labels and a title.

AI-generated description

Population of 10 most populous cities