Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Ogelo - D3 Bar Chart

Public visualization

Viewing a saved revision (read-only)

7b5a2e4abd6d46b0b299bd59bf837650

Ogelo - D3 Bar Chart

0 stars1🌍 Public
AAugustine Ofoegbu
Last edited Jan 13, 2023
Created on Jan 12, 2023
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 ranks countries along a horizontal bar layout, with population values on the x-axis and country names on the y-axis. Built with D3 v5, the example creates linear and band scales (`d3.scaleLinear`, `d3.scaleBand`) and customizes the axes using `d3.axisLeft` and `d3.axisBottom`. The SVG bars are rendered with a steelblue fill, and country labels are styled with a larger font size.

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. It also demonstrates customization of D3 axes.