🌍 Public
Viewing a saved revision (read-only)
1a64c5e53d24487c8a9e6317e8d1d01b
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