Fork of Bar chart
A horizontal bar chart displays the populations of the top 10 most populous countries, based on 2018 estimates from the UN World Population Prospects. The chart uses D3 v6 (d3.scaleLinear, d3.scaleBand, d3.axisLeft, d3.axisBottom) to render SVG rectangles, with population values loaded from a CSV file and scaled in thousands. Bars are drawn from left to right, with country labels on the y-axis and a numeric x-axis.