Skip to main content
100%

Bar Chart 8/1

✓ Published1🌍 Public
Jjohncoder21
Last edited Aug 1, 2021
Created on Jul 28, 2021
Forked from Making a Bar Chart

A horizontal bar chart displays the population of the ten most populous countries from 2018 United Nations estimates, ordered by country name. The chart uses d3.scaleBand for the y-axis categories, d3.scaleLinear for the x-axis population values, and d3.axisLeft for ticks. Population values are loaded from a CSV file and multiplied by 1,000. The SVG rendering includes steelblue rectangles with heights set by the bandwidth, demonstrating customized D3 axes.

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