Making a Bar Chart
✓ Published0🌍 Public
A bar chart displays the top 10 most populous countries using 2018 population estimates from the United Nations World Population Prospects 2017. The chart is rendered as an SVG and includes both horizontal and vertical orientations. Built with D3 v5, it uses `scaleLinear` and `scaleBand` for axes, `axisLeft` and `axisBottom` for ticks, and a dropdown menu to potentially switch the displayed metric. Data is loaded via `csv` from an external dataset.
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.
MIT Licensed