🌍 Public
Viewing a saved revision (read-only)
df4c1f7b6c1b40ee89a1a7fb25ccb69b
Fork of Making a Bar Chart
This bar chart displays the population of the ten most populous countries, based on 2018 estimates from the United Nations World Population Prospects. It uses d3.csv to load the data, then renders horizontal bars with d3.scaleLinear for the x-axis and d3.scaleBand for the y-axis. The chart applies d3.axisLeft and d3.axisBottom for labeling, and draws the bars as SVG rectangles with a steelblue fill.
AI-generated descriptionThis bar chart shows population of 10 most populos countris.The data comes from the year 2018 estimate in United Nations:World Population Prospects 2017.