Skip to main content
100%

Making a Bar Chart

✓ Published0🌍 Public
DDaniel Piqué
Last edited Nov 24, 2018
Created on Nov 24, 2018
Forked from Making a Bar Chart

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 maps population values to horizontal bar widths using `d3.scaleLinear`, while country names are positioned on a categorical `d3.scaleBand` axis. The chart renders as SVG, with axes created via `d3.axisLeft` and `d3.axisBottom`, and data loaded from a CSV file using `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.

MIT Licensed

Similar vizzes