Skip to main content
100%

Making a Bar Chart

✓ Published0🌍 Public
KKrister
Last edited Apr 23, 2020
Created on Apr 23, 2020
Forked from Making a Bar Chart

This bar chart displays the population of the top 10 most populous countries, based on 2018 estimates from the United Nations World Population Prospects. It shows the data as horizontal bars, with country names on the y-axis and population values on the x-axis. The visualization uses d3.csv to load the data, d3.scaleLinear and d3.scaleBand for scaling, and d3.axisLeft and d3.axisBottom for axes. It customizes the x-axis tick format to abbreviate large numbers and removes axis domain lines for a cleaner presentation.

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