Vertical bar chart
A vertical bar chart displays the population of the top 10 most populous countries, with data from the 2018 United Nations World Population Prospects. The chart uses SVG rendering with D3 v5, employing `scaleBand` for the categorical x-axis and `scaleLinear` for the y-axis, which is formatted to abbreviate large numbers (e.g., "1.3B"). Custom axis styling includes rotated tick labels, horizontal grid lines, and labeled axes. Bars are colored steelblue, with a dark orange title, demonstrating D3's axis customization capabilities.
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.
See also the first bar chart visualization that this one builds on: Making a Bar Chart.