Skip to main content
100%

Fork of Making a Bar Chart

✓ Published0🌍 Public
PPriyansh Ramnani
Last edited Dec 24, 2020
Created on Dec 24, 2020
Forked from Making a Bar Chart

This bar chart displays the top 10 most populous countries using 2018 estimates from the United Nations World Population Prospects 2017 in the data.csv file. It customizes D3 v5 axes by removing domain lines and tick lines from the y-axis, formatting population values with tick formatting that converts G to B, and adding axis labels and a title. The chart uses `d3.scaleLinear` for the x-axis, `d3.scaleBand` for the y-axis, and `d3.axisBottom` and `d3.axisLeft` to render axes in SVG.

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