Skip to main content
100%

bar chart

✓ Published1🌍 Public
Ttkreglhn
Last edited Apr 15, 2019
Created on Apr 15, 2019
Forked from Customizing Axes

A horizontal bar chart displays the population of the top 10 most populous countries, based on 2018 estimates from the United Nations World Population Prospects. The chart uses D3 v5 with an SVG rendering, employing `d3.scaleLinear` for the x-axis, `d3.scaleBand` for the y-axis, and `d3.axisBottom` and `d3.axisLeft` for labeled ticks. Population values are loaded from a CSV file, multiplied by 1000, and formatted with abbreviations like “B” for billions.

AI-generated description

This 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

Similar vizzes