🌍 Public
Viewing a saved revision (read-only)
5742969166024b27b53558c294ef0a1f
Fork of activity 6 q1.1
This visualization displays the population of the top 10 countries in the year 2000 as a horizontal bar chart, with countries listed on the y-axis and population values on the x-axis. Built with React and D3 v5, it uses `scaleBand` and `scaleLinear` to map data from a CSV file, with SVG rectangles for bars and native React components for axes. The chart formats tick labels using D3’s `format` function, converting values to billions, and includes tooltips via SVG `<title>` elements.
AI-generated description