🌍 Public
Viewing a saved revision (read-only)
2ff9780d93a64b39896e1c89a1822940
Activity 6_Task 1
A horizontal bar chart displays the top 30 countries by 2020 population, sourced from an Activity6_Population.csv file. Steel-blue bars, rendered with SVG rect elements, list countries along the y-axis and population values along the x-axis. The chart uses D3 v7’s `selectAll` and `join` pattern to create bars and labels, with `d3.scaleBand` for the categorical axis and `d3.scaleLinear` for the numeric range.
AI-generated description