🌍 Public
Viewing a saved revision (read-only)
bf0de1a24c464cdc92e6b003a60349a3
Fork of Activty_6 T1
This bar chart displays the population of 20 countries in 2010, with countries listed along the vertical axis and horizontal bars representing population values. Built with React and D3 v5, it uses `scaleBand` and `scaleLinear` for positioning, while CSV data is loaded via `d3.csv` from a remote GitHub repository. The SVG rendering includes custom axis components and rectangles for marks, with tooltips formatted using D3’s `format` function to abbreviate large numbers.
AI-generated description