Skip to main content
100%

Making a Bar Chart

✓ Published1🌍 Public
IIsmaelHernandezL
Last edited Dec 28, 2019
Created on Dec 28, 2019

This bar chart displays the populations of ten of the most populous countries using data estimated from the 2017 United World Population Prospects. The visualization uses d3.v5 to construct a horizontal bar chart, with population values on a linear scale and country names on a categorical band scale. The SVG rendering includes axes generated with `axisLeft` and `axisBottom`, while rectangular bars are appended to the chart with widths proportional to each country's population. The data is loaded from a CSV file and multiplied by 1000 to reflect actual population figures.

AI-generated description

This bar chart shows populations of 10 the most populous countries. The data comes from the year 2018 estimate in [United World Population Prospects 2017] (https://esa.un.org/unpd/wpp/Download/Standard/Population/).

MIT Licensed

Similar vizzes