Activity6 Task1Question1
✓ Published1🌍 Public
A horizontal bar chart displays the populations of ten countries in the year 2000, sorted by country name. Each bar’s length encodes the population value, with a tooltip showing the formatted number on hover. The visualization is built with React and D3 v5, using `scaleBand` and `scaleLinear` for scales, SVG rectangles for marks, and axes rendered from custom React components. Data is loaded from a CSV file via D3’s `csv` method, and population values are formatted using D3’s `format` function.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed