Fork of Making a Bar Chart
This bar chart displays the 2018 population estimates for the top 10 most populous countries, sourced from the United Nations World Population Prospects 2017. The visualization uses d3.scaleBand and d3.scaleLinear to map countries and their populations to SVG rectangles, with d3.axisLeft and d3.axisBottom providing labeled axes. The code also demonstrates D3 axis customization through formatting functions, rendering the chart entirely as SVG within a 960×500 viewport.