Activity6_T1_Q1.1
✓ Published0🌍 Public
A horizontal bar chart ranks the top ten countries by population for the year 2000, with green bars extending from a shared baseline and country names on the y-axis. The visualization is built with React and D3 v5, using `scaleBand` for the categorical axis and `scaleLinear` for the population values. Data loads from a CSV file via `d3.csv` in `useData.js`, while the axes and marks are rendered as reusable React components. SVG rectangles display the bars, and each bar includes a native `<title>` tooltip showing the formatted population value.
AI-generated descriptionMIT Licensed