Skip to main content
100%

Making a Bar Chart

✓ Published0🌍 Public
Ttkreglhn
Last edited Apr 15, 2019
Created on Apr 15, 2019
Forked from Making a Bar Chart

This bar chart displays the population distribution across twenty age cohorts, ranging from "00-04" to "95-eo" years, based on a 2018 United Nations World Population Prospects estimate. The visualization uses D3 v5 with an SVG rendering approach. The code employs `scaleLinear` for the population x-axis, `scaleBand` for the categorical y-axis, and `axisLeft`/`axisBottom` for the chart’s gridlines. Population data is loaded from a CSV file and parsed into numeric values before rendering steelblue rectangles.

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