Activity 6_Task 1
✓ Published0🌍 Public
This horizontal bar chart displays the populations of 30 countries in 2020, ranked from largest to smallest on the y-axis. It uses React to render SVG elements, with D3 v5’s `scaleBand` and `scaleLinear` mapping the categorical and quantitative variables, and axes generated by the custom `AxisBottom` and `AxisLeft` components. The data is loaded asynchronously from a CSV via `d3.csv`, with population values formatted in billions using `d3.format`.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed