Skip to main content
100%

Activity 7

✓ Published0🌍 Public
Aakshayvenishetty1437
Last edited Jul 24, 2023
Created on Jul 19, 2023
Forked from Hello VizHub

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 description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes