Skip to main content
100%

Fork of Fork of Making a Bar Chart

✓ Published0🌍 Public
CComplicated Phenomenon
Last edited May 3, 2021
Created on May 3, 2021

This bar chart displays the top 10 most populous countries based on 2018 United Nations estimates, with population values expressed in thousands. The visualization uses D3 v5 with an SVG renderer, employing `d3.scaleLinear` for the x-axis, `d3.scaleBand` for the categorical y-axis, and `d3.axisLeft` and `d3.axisBottom` for labeled axes. A custom tick formatter converts large numbers into abbreviated units like “B” for billions, and gridlines extend across the plot. The data is loaded from a CSV file and processed as numeric values.

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.

MIT Licensed

Similar vizzes