Activity6_Task1_Question2
✓ Published1🌍 Public
A horizontal bar chart ranks the populations of 20 countries in 2020, using D3 v5 within a React component. The visualization encodes population values as bar lengths along a linear scale, with country names on a band scale for the y-axis. SVG rendering displays the bars, while D3's `scaleLinear` and `scaleBand` manage the axes. The bottom axis is formatted using D3's `format` with a `.2s` specifier to abbreviate values, and the data is loaded as CSV from a GitHub repository.
AI-generated descriptionMIT Licensed