Bar Chart
✓ Published0🌍 Public
This bar chart visualizes the population of the top 10 most populous countries, sourced from the United Nations’ World Population Prospects 2017. The data is loaded from a CSV file, with each population value multiplied by 1,000. Using D3 v5, the code applies `scaleLinear` for the horizontal population axis and `scaleBand` for the vertical country axis, rendering SVG rectangles with `axisLeft` and `axisBottom` for labels. The chart displays population bars in steel blue within a fixed 960×500 SVG canvas.
AI-generated descriptionThis Bar Chart shows population of the top 10 most populous countries. [United Nations: The World Population Prospects 2017] (www.google.com).
MIT Licensed