🌍 Public
Viewing a saved revision (read-only)
0bed8abc064c4eca83bc832c966dca30
activity_6_task1
This horizontal bar chart displays the population of 30 countries in 2020, ordered by country name. Built with React and D3 v5, it uses an SVG rendering with a linear x-scale for population values and a band scale for countries. The code employs `scaleBand`, `scaleLinear`, `max`, and `format` from D3, with data loaded from a CSV file. Interactive tooltips show the population value for each bar, while blue axis lines and green bars provide clear visual separation.
AI-generated description