Activity 7
✓ Published0🌍 Public
A horizontal bar chart displays the 2020 populations of ten countries, sorted by country name, with bars rendered as green SVG rectangles. The chart uses D3 v5 scales (`scaleBand` and `scaleLinear`) to map country names and population values to screen positions, while React components build the axes and marks. Data loads from a remote CSV file, with population values converted from thousands. Axis tick labels use D3's `format` to abbreviate large numbers, and hovering over a bar reveals a native tooltip with the formatted value.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed