Skip to main content
100%

05_02_ Stylized, Largest Cities population in US 2020

✓ Published2🌍 Public

This visualization displays the top ten largest U.S. cities by 2020 population as horizontal bars, with city names on the y-axis and population values on the x-axis. The chart uses React to render SVG elements, while D3 utilities (`scaleBand`, `scaleLinear`, `csv`, `format`) handle data loading, scaling, and axis formatting. Population data comes from World Population Review, loaded via `d3.csv` from a gist. Each bar includes a tooltip showing the population value and state abbreviation. The visualization emphasizes the relationship between city name and population, with bars colored in a consistent blue tone.

AI-generated description

Visualizing the Data for Largest Cities population in US 2020 using D3 utilities, and uses React to render the data as a radial burst!

This data showing the number of top ten cities in the USA that have the largest pupulation in 2020

Some questions

  • What are the top ten Largest cities in US by population in 2020

Types of the attributes that are most interesting in my view

  • city name is categorical
  • population is quantitative

the goal in this visulatization is to give better understanding and show the relationship between publuation and top ten largest cities in US.

I spent time trying to understand why the visualization doesn't show top 10 depend on rank when I use state (usps) but I found that the figure does take only one value for each state

Abdulsalam Almadani gist.github

MIT Licensed

Similar vizzes