🌍 Public
Viewing a saved revision (read-only)
4e8d4feb46f64ed6a22fbdead1469127
Activity6_Question1.2
This bar chart displays the population of 20 countries in 2010, using horizontal bars ordered by country name. React components render SVG elements, while D3 v5 scales (`scaleBand`, `scaleLinear`) and formatting (`format('.2s')`) handle the visualization logic. The data is loaded from a CSV file via `csv` and sliced to the top 20 entries. Axes are custom-built with React, and each bar includes a native SVG `<title>` element for tooltips.
AI-generated description