Activity-6(Questions)1.2
✓ Published0🌍 Public
This visualization displays the populations of 20 countries in 2010 as a horizontal bar chart, with country names on the y-axis and population values on the x-axis. The chart uses React to render SVG elements, with D3’s `scaleBand` and `scaleLinear` handling the scales, and custom `AxisBottom` and `AxisLeft` components drawing the ticks. Data is loaded via D3’s `csv` from a GitHub-hosted CSV file, and population values are formatted using D3’s `format('.2s')` to show abbreviations like "B" for billions.
AI-generated descriptionMIT Licensed