activity 6_Task 1
✓ Published0🌍 Public
This bar chart displays the population of 30 countries in 2020, sorted by country name along the vertical axis. The chart uses React with D3 v5 to render SVG elements, employing `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. Population values are formatted using D3’s `format` function, converting billions to a readable label. The data is loaded via `d3.csv` from a remote GitHub source, and each bar includes a tooltip showing the formatted population value.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed