Skip to main content
100%

Making a Bar Chart

✓ Published0🌍 Public
NNameeeee
Last edited Mar 2, 2020
Created on Mar 2, 2020
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. It shows population values on a linear scale for the x-axis and country names on a band scale for the y-axis, with axes customized using `d3.axisLeft`, `d3.axisBottom`, and tick formatting via `d3.format`. The chart is rendered as SVG, with data loaded from a CSV file using `d3.csv` and scales created with `d3.scaleLinear` and `d3.scaleBand`.

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