Viewing a saved revision (read-only)
0722abcb0d3a4b20b0eb829c9301afaa
Fork of 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 descriptionThis 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.