Bar Chart 8/1
✓ Published1🌍 Public
A horizontal bar chart displays the population of the ten most populous countries from 2018 United Nations estimates, ordered by country name. The chart uses d3.scaleBand for the y-axis categories, d3.scaleLinear for the x-axis population values, and d3.axisLeft for ticks. Population values are loaded from a CSV file and multiplied by 1,000. The SVG rendering includes steelblue rectangles with heights set by the bandwidth, demonstrating customized D3 axes.
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. It also demonstrates customization of D3 axes.
MIT Licensed