Skip to main content
100%

Fork of Fork of Making a Bar Chart

✓ Published0🌍 Public
Bblanchestora@gmail.com
Last edited May 4, 2024
Created on May 4, 2024

This bar chart visualizes the population of the top 10 most populous countries, using 2018 estimates from the United Nations World Population Prospects. The horizontal bars are rendered as SVG rectangles, with country names on the y-axis and population values on the x-axis, formatted in billions. The code uses d3.csv to load the data, d3.scaleLinear and d3.scaleBand for scaling, and d3.axisLeft and d3.axisBottom for custom axes. A video tutorial is embedded in the README to demonstrate the chart’s construction.

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