311 Waste Reports in The Mission
This bar chart visualizes the top 10 most populous countries using 2018 estimates from the United Nations World Population Prospects. The x-axis represents population counts, while the y-axis lists country names. Built with d3.v5, the code uses d3.select, d3.csv, d3.scaleLinear, d3.scaleBand, d3.axisLeft, and d3.axisBottom to render SVG rectangles. The data is loaded from data.csv and multiplied by 1000 before being mapped to the chart’s scales.