Activity 7 Task1
✓ Published0🌍 Public
This bar chart displays the population of 20 countries in 2020, sorted by country name on the y-axis with horizontal bars extending to represent population values. The visualization uses React with D3 v5’s `scaleBand` and `scaleLinear` to map data, rendering SVG rectangles via custom React components. The data is loaded from a CSV file using D3’s `csv` method, formatted with `format` to abbreviate large numbers, and includes axis labels and tooltips showing the population value.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed