Activity6_Question1.2
✓ Published0🌍 Public
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 descriptionMIT Licensed