Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Making a Bar Chart

Public visualization

Viewing a saved revision (read-only)

0722abcb0d3a4b20b0eb829c9301afaa

Fork of Making a Bar Chart

0 stars1🌍 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.