Skip to main content
100%

Fork of Making a Bar Chart

✓ Published0🌍 Public
Ssnehareddygurram
Last edited Mar 11, 2023
Created on Mar 11, 2023
Forked from Making a Bar Chart

This bar chart displays the top 10 most populous countries based on 2018 estimates from the United Nations World Population Prospects. The visualization customizes D3 axes, removing domain lines and using tick marks that span the chart’s height. Population values are loaded from a CSV file and formatted with abbreviations like “B” for billions using `d3.format`. The chart is rendered with SVG elements, using `scaleLinear` for the x-axis, `scaleBand` for the y-axis, and `axisBottom` and `axisLeft` to generate ticks.

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