activity 6_Task 1_Vamsi
✓ Published0🌍 Public
This visualization displays the top 30 countries by population in 2020 using a horizontal bar chart rendered with React and D3 v5. SVG rectangles scaled with `d3.scaleLinear` represent population values, while `d3.scaleBand` positions the categorical country labels. The chart includes formatted tick labels using `d3.format` (converting G to B) and axis components built with React. Population data is loaded asynchronously from a remote CSV via `d3.csv` in the `useData` hook, with values multiplied by 1000 before rendering.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed