🌍 Public
Viewing a saved revision (read-only)
8bfb91bb9b4e40b1b5a1106c2feb9676
Making a Bar Chart
This bar chart displays the population of the top 10 most populous countries, based on 2018 estimates from the United Nations World Population Prospects. The visualization uses D3 v5 with an SVG rendering, employing `scaleLinear` for the x-axis and `scaleBand` for the y-axis. Data is loaded from a CSV file and multiplied by 1000 to represent actual population counts. The chart includes axes generated by `axisLeft` and `axisBottom`, with black rectangles representing each country’s population.
AI-generated descriptionThis 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.