Fork of Making a Bar Chart
This chart displays the top 10 most populous countries using vertical bars, with population values from the 2018 estimate in United Nations: World Population Prospects 2017. It uses D3 v5's `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to render an SVG bar chart, with custom tick formatting that converts billions to abbreviated labels. The chart demonstrates axis customization by removing gridlines and domain paths, and labels the x-axis "Population." Data is loaded from a CSV file and processed by multiplying population values by 1000.
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.