Skip to main content
100%

Making a Bar Chart

✓ Published0🌍 Public
Ccedriccaijo
Last edited Mar 18, 2020
Created on Mar 18, 2020
Forked from Making a Bar Chart

This bar chart displays the populations of the ten most populous countries based on 2018 United Nations estimates, with country names on the y-axis and population values on the x-axis. Built with D3 v5, it uses `d3.scaleLinear` and `d3.scaleBand` to map data, `d3.axisLeft` and `d3.axisBottom` for customized axes, and appends SVG rectangles for bars. The data is loaded from a CSV file and rendered as an SVG graphic.

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