Activity6_Question1
✓ Published0🌍 Public
This horizontal bar chart displays the 2020 population for the top 30 countries, with population values on the x-axis and country names on the y-axis. The chart uses React and D3 v5, employing `scaleBand` for the categorical y-axis and `scaleLinear` for the continuous population scale. Data is loaded from a GitHub-hosted CSV file using D3's `csv` method. Bars are rendered as SVG rectangles with tooltips showing the formatted population values, while axes are generated using custom `AxisBottom` and `AxisLeft` components.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed