Population Bar Chart
This chart displays the 20 most populous countries in 2020 as horizontal bars, with country names on the y-axis and population values scaled along the x-axis. Built with React and D3 v5, it uses `d3.scaleBand` and `d3.scaleLinear` for the axes and renders SVG rectangles. Population figures come from the United Nations’ 2019 World Population Prospects, formatted with d3’s `format` to show billions or millions. Native SVG `<title>` elements provide tooltips on each bar.
AI-generated descriptionThe 20 most populous countries in 2020. The numbers are based on estimates.
Source: United Nations, Department of Economic and Social Affairs, Population Division (2019). World Population Prospects 2019, Online Edition. Rev. 1.
CSV-File: https://gist.github.com/curran/0ac4077c7fc6390f5dd33bf5c06cb5ff
Original Chart: https://vizhub.com/curran/a44b38541b6e47a4afdd2dfe67a302c5