Activity 6
✓ Published1🌍 Public
This horizontal bar chart ranks the 30 most populous countries by their 2020 population estimates, with bars extending from left to right and the y-axis ordered alphabetically by country name. The visualization uses React components to render SVG elements, with D3’s `scaleBand` and `scaleLinear` handling the positional encodings, while axis components manually generate ticks and labels. Population values are formatted using D3’s `format` function, converting values to billions with an ‘B’ suffix, and the source data is loaded via `d3.csv` from a GitHub-hosted CSV file.
AI-generated descriptionMIT Licensed