Skip to main content
100%

Making a Bar Chart

✓ Published1🌍 Public
AAnna Lopez
Last edited Apr 6, 2020
Created on Apr 6, 2020

This bar chart displays the populations of the ten most populous countries, using data from the United Nations World Population Prospects 2017. The chart renders as SVG, with horizontal bars ordered by country name along the y-axis and population counts on the x-axis. The visualization is built with D3 v5, utilizing `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to position the bars and axes. Population values are read from a local CSV file and scaled by a thousand before being mapped to bar widths.

AI-generated description

This bar char shows populataion of the top 10 most populous countries. The data comes from the year 2018 estimaate in United Nations: World Population Prospects 2017.

MIT Licensed

Similar vizzes