🌍 Public
Viewing a saved revision (read-only)
d50f080a5fac4626b39688845187c910
Making a bar chart
This bar chart displays the population of the top 10 most populous countries, using 2018 estimates from the United Nations World Population Prospects. The chart uses D3 v5 with SVG rendering, employing `d3.scaleLinear` for the x-axis and `d3.scaleBand` for the y-axis. Axes are customized via `d3.axisLeft` and `d3.axisBottom`, with population values scaled 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.
(https://vizhub.com/curran/dd44f8fcdc8346ff90bddd63572bf638).