Axes
✓ Published0🌍 Public
A horizontal bar chart displays the population of the top 10 most populous countries, with each bar colored by country. The chart uses d3.scaleLinear and d3.scaleBand to map population and country names, while d3.axisBottom and d3.axisLeft render labeled axes with custom formatting. Data comes from a CSV file of 2018 UN estimates, and the SVG rendering includes a title and axis label.
AI-generated descriptionThis bar chart shows population of the top 10 most populous countries. The data is sourced from 2018 estimate from the link: https://esa.un.org/unpd/wpp/download/standard/population/
MIT Licensed