Activity 6_Q2
✓ Published0🌍 Public
A horizontal bar chart displays the 2010 populations of the top 20 countries, sorted from largest to smallest. The visualization uses a D3 scaleBand for the categorical y-axis and a scaleLinear for the numerical x-axis, with population values formatted using the D3 `format` function to abbreviate large numbers. React functional components render the SVG axes and marks, with a native SVG `<title>` element providing hover tooltips. Data is loaded asynchronously from a CSV file via the `d3.csv` method, filtering and sorting the dataset before rendering the bars.
AI-generated descriptionMIT Licensed