Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a Bar Chart

Public visualization

Viewing a saved revision (read-only)

47c9ae0cad7f4757916bf534be1bed92

Making a Bar Chart

0 stars0🌍 Public
Oowendobrien
Last edited Nov 19, 2019
Created on Nov 18, 2019
Forked from Making a Bar Chart

This bar chart displays the 2018 population estimates for the top 10 most populous countries, based on data from the United Nations World Population Prospects. It uses D3 v5 with `d3.csv` and `d3.scaleBand` for the categorical y-axis and `d3.scaleLinear` for the quantitative x-axis. The chart renders as an SVG, with axes generated via `d3.axisLeft` and `d3.axisBottom`, and rectangular bars colored steelblue. Population values are read from data.csv and multiplied by 1,000 to reflect actual counts.

AI-generated description

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