🌍 Public
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 descriptionMIT Licensed
Comments
Sign in to join the discussion.