Customizing Axes
This bar chart displays the population of the top 10 most populous countries using 2018 estimates from the United Nations World Population Prospects 2017. It shows horizontal bars ordered by population, with country names on the y-axis and population values on the x-axis formatted in billions. The visualization customizes axes by removing domain lines, adding gridlines through tick sizing, and including a manually positioned population label. Built with D3 v5, it uses d3.scaleLinear, d3.scaleBand, d3.axisLeft, and d3.axisBottom, with data loaded via d3.csv and rendered as SVG rectangles.
AI-generated descriptionThis bar chart shows population of the top 10 most populous countries. The data comes from the year 2018 estimate in United Nations: World Population Prospects 2017.