Making a Bar Chart
✓ Published1🌍 Public
A horizontal bar chart displays the top 10 most populous countries using population estimates from the 2018 United Nations World Population Prospects. The chart uses d3.csv to load data and d3.scaleLinear, d3.scaleBand, d3.axisLeft, and d3.axisBottom for axes, with tick labels formatted via d3.format. The SVG rendering includes custom axis removal and a title, demonstrating how to customize D3 axes for clear data presentation.
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