Fork of Refactored Bar Chart
This bar chart displays the top 10 most populous countries using data from the United Nations World Population Prospects 2019, rendered as an SVG via React. The visualization uses d3.scaleBand for the y-axis, d3.scaleLinear for the x-axis, and d3.csv to load the dataset. It includes bottom and left axes generated from custom React components, with rectangular marks representing each country’s population. The chart is intentionally minimal, lacking gridlines and other embellishments, and updates reactively when data loads.