🌍 Public
Viewing a saved revision (read-only)
be8c92b6ab4c45cbb8308bb7d486de7f
Activity6_question1.1
A horizontal bar chart displays the population of ten countries for the year 2000, ranked by country, with each bar's length proportional to population. The visualization uses React with D3 v5's `scaleBand` and `scaleLinear` to map countries and population values to SVG coordinates. Data is loaded from a CSV via `d3.csv` and filtered to the first ten rows. Native SVG `<title>` elements provide tooltips, while axes are rendered through custom React components that generate ticks and labels.
AI-generated description