Fork of iris scatter
✓ Published0🌍 Public
This bar chart displays the top 10 most populous countries using data from the United Nations World Population Prospects 2019. Each horizontal bar represents a country, with its length proportional to the 2020 population estimate. The visualization uses React with D3’s `scaleBand` and `scaleLinear` for positioning and scaling, and renders SVG elements with custom axis components. A tooltip on each bar shows the population value using D3’s `format` function, with billions abbreviated as “B”.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed