Making a Bar Chart
✓ Published2🌍 Public
This bar chart displays the population of the top 10 most populous countries, based on 2018 estimates from the United Nations World Population Prospects. Built with D3 v5, it renders as an SVG and demonstrates axis customization using `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom`. The chart loads data from a CSV file, converts population strings to numbers, and positions bars with a band scale, showing country names on the y-axis and population values on the x-axis.
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