Fork of Activity6_Task1
✓ Published0🌍 Public
This visualization displays the populations of 20 countries in 2010 as horizontal bars sorted along a categorical y-axis. Built with React and D3.v5, it uses `scaleBand` and `scaleLinear` to map countries and population values, rendering SVG rectangles with tooltips. Axis components generate custom ticks, with bottom tick labels formatted using `d3.format` to abbreviate large numbers (e.g., “1.2B”). Data is loaded asynchronously from a CSV file using D3’s `csv` function.
AI-generated descriptionMIT Licensed