Largest Cities population in US 2020 with menu
A bar chart displays 2020 population data for twenty U.S. cities, with a dropdown menu to switch the x-axis metric among rank, population, density, and land area, and a second menu to toggle the y-axis between city name and state. The visualization uses React for component rendering, D3 v5 for scales and data loading via `d3.csv`, and SVG elements for the chart. Data originates from World Population Review, loaded from a GitHub gist, with bars colored blue and tooltips showing population values.
AI-generated descriptionVisualizing 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