Making a Bar Chart
✓ Published0🌍 Public
This bar chart displays the population of the top 10 most populous countries, using 2018 estimates from the United Nations World Population Prospects 2017. The visualization maps population values to horizontal bar widths using `d3.scaleLinear`, while country names are positioned on a categorical `d3.scaleBand` axis. The chart renders as SVG, with axes created via `d3.axisLeft` and `d3.axisBottom`, and data loaded from a CSV file using `d3.csv`.
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.
MIT Licensed