🌍 Public
Viewing a saved revision (read-only)
724c28031e4b464da43b15b59c3856eb
Activity 6
A horizontal bar chart displays population estimates for 30 countries in 2020, sorted by country name. The chart uses D3 v5 and React to render SVG elements, with `d3.scaleBand` for the y-axis and `d3.scaleLinear` for the x-axis. Data is loaded via `d3.csv` from a GitHub repository, with population values converted from thousands. The code formats tick labels using `d3.format` and includes interactive tooltips via SVG `<title>` elements.
AI-generated descriptionA demonstration of how to start using D3 version 6.