TASK1_2
✓ Published0🌍 Public
This horizontal bar chart displays the population figures for 20 countries in 2010, sorted along a categorical y-axis with proportional bar lengths extending along a linear x-axis. The visualization is built with React and D3 v5, using `scaleBand` and `scaleLinear` for positioning, and renders SVG elements through custom `AxisBottom`, `AxisLeft`, and `Marks` components. Data is loaded asynchronously from a CSV file via `d3.csv` and formatted using `d3.format` to abbreviate large numbers as billions, with tooltips showing exact values.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed