Skip to main content
100%

Fork of Making a Bar Chart

✓ Published0🌍 Public
HHowardHan99
Last edited Oct 16, 2021
Created on Oct 15, 2021
Forked from Making a Bar Chart

This bar chart displays the 2018 population estimates for the top 10 most populous countries, sourced from United Nations World Population Prospects. It uses d3.scaleLinear for the x-axis, d3.scaleBand for the y-axis, and d3.axisLeft and d3.axisBottom to render country labels and population values in SVG. The chart applies a steelblue fill to rectangles and a custom margin layout, with data loaded via d3.csv.

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