🌍 Public
Viewing a saved revision (read-only)
1ccc7fd8be614b63b66115e6c7fce4a4
Making a Bar Chart
This bar chart displays the population of the top 10 most populous countries, based on 2018 estimates from the World Population Prospects 2017. The visualization uses an SVG rendering with D3 v5, employing `d3.scaleLinear` for the x-axis and `d3.scaleBand` for the y-axis, along with `d3.axisLeft` and `d3.axisBottom` to render the axes. Data is loaded from a CSV file using `d3.csv` and displayed as steel-blue rectangles.
AI-generated descriptionThis bar chart shows population of top 10 most populous countries. The data comes from the year 2018 estimate in World Population Prospects 2017