Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

BAR CHART

Public visualization

Viewing a saved revision (read-only)

a084accd22a944a79be465ce0fddc992

BAR CHART

0 stars0🌍 Public
Ccocktaildata
Last edited Mar 24, 2020
Created on Mar 21, 2020
Forked from Customizing Axes

This bar chart displays the population of the top 10 most populous countries, using 2018 estimates from the United Nations World Population Prospects 2017. The visualization uses D3 v5 with SVG rendering, employing `d3.scaleLinear`, `d3.scaleBand`, `d3.axisLeft`, and `d3.axisBottom`. Axes are customized with tick formatting that converts values to billions (e.g., replacing "G" with "B") and removed domain lines. Population data is loaded from a CSV file and multiplied by 1000.

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.

See also the first bar chart visualization that this one builds on: Making a Bar Chart.