Skip to main content
100%

Bar Chart

✓ Published0🌍 Public
SShweta-tech
Last edited Jan 5, 2020
Created on Jan 5, 2020
Forked from Bar Chart

This bar chart displays the population of the top 10 most populous countries, using 2018 estimates from the United Nations World Population Prospects. The data is loaded from a CSV file and rendered as colored rectangles on an SVG canvas. The chart uses D3 v5’s `scaleLinear` for the y-axis and `scaleBand` for the x-axis, with custom axes via `axisLeft` and `axisBottom`. Country labels appear along the horizontal axis, and the vertical axis shows population values in thousands.

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. It also demonstrates customization of D3 axes.

See also the first bar chart visualization that this one builds on: Making a Bar Chart.

MIT Licensed

Similar vizzes