Fork of Activity-6 Question-1
✓ Published0🌍 Public
This fork of Activity-6 Question-1 displays a horizontal bar chart of country populations in 2020, sorted by country name. It uses React with D3 v5’s `scaleBand` and `scaleLinear` to position the bars, and computes the x-axis maximum from the data. The SVG rendering includes custom Axis components, a green fill for marks, and tooltips formatted with D3’s `format` function to abbreviate values (e.g., “1.2B”). Data is loaded from a remote CSV via D3’s `csv` method.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed