🌍 Public
Viewing a saved revision (read-only)
c958b780bd5447b58c4d886d01eadd8c
Activity6_Task - 1
A horizontal bar chart displays the 2010 populations of 30 countries, ordered by name along the y-axis, with bar lengths proportional to population values on a linear scale. React components render the SVG visualization, while d3 v5 utilities (`csv`, `scaleBand`, `scaleLinear`, `max`, `format`) load data from a GitHub-hosted CSV and compute scales and tick formatting, abbreviating large numbers with SI prefixes. The bars use CSS fill colors, and hover tooltips show formatted values via native SVG `<title>` elements.
AI-generated description