🌍 Public
Viewing a saved revision (read-only)
b2108cb052ab47f59c1a8f6ec173051b
Fork of Activity 7
This fork of Activity 7 displays the populations of the first 30 countries from a CSV dataset for the year 2020 as horizontal bars. Built with React and rendered as SVG, it uses D3 v5 functions `scaleBand` and `scaleLinear` to map country names and population values to coordinates, with axis ticks from custom React components. The chart loads data via `d3.csv`, formats population values on the x-axis using `d3.format`, and provides hover tooltips.
AI-generated description