Activity6_Question1
✓ Published0🌍 Public
This bar chart displays the population of ten countries in the year 2020, with country names on the vertical axis and population values on the horizontal axis. The chart uses React with D3 v5 scales, including `d3.scaleBand` for the categorical axis and `d3.scaleLinear` for the quantitative axis, rendering SVG rectangles. Data is loaded via `d3.csv` from a GitHub-hosted CSV file, and axis ticks are formatted using `d3.format`. Hovering over a bar reveals a tooltip with the population value.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed