Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a Bar Chart

Public visualization

Viewing a saved revision (read-only)

cadc1921c3744f0ea75335970747ed71

Making a Bar Chart

0 stars0🌍 Public
Jjeffcampbell1999
Last edited May 14, 2019
Created on May 14, 2019

This horizontal bar chart displays the population of the top 10 most populous countries, using 2018 estimates from the United Nations World Population Prospects. Population values are shown for each country, with bars extending proportionally from the left axis. The visualization uses D3 v5, specifically the `scaleBand` and `scaleLinear` functions for the y and x axes, respectively, while rendering bars as SVG `rect` elements. The data is loaded from a CSV file, and the chart includes axis labels via `axisLeft` and `axisBottom`.

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.