Skip to main content
100%

Fork of Making a Bar Chart

✓ Published1🌍 Public
AAndrewRiceMGW
Last edited Jan 10, 2021
Created on Jan 10, 2021
Forked from Making a Bar Chart

This bar chart displays the 2018 population estimates for the ten most populous countries, using data from the United Nations' World Population Prospects 2017. The visualization employs D3 v6 APIs including `csv`, `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to create an SVG rendering with horizontal bars. Population values are formatted in thousands, with each rectangle’s width scaled proportionally and countries listed on the y-axis. The chart is built with a margin-based layout and uses `selectAll` to bind data to SVG rectangles.

AI-generated description

This bar chart shows population of the top10 most populous countries. The data comes from the year 2018 estimate in United Nations: World Population Prospects 2017.

MIT Licensed

Similar vizzes