🌍 Public
Viewing a saved revision (read-only)
d0393e0d9925471eaacd41257635efed
Activity 6_Task 1
This horizontal bar chart displays the populations of thirty countries for 2020, sorted along the y-axis with bar lengths proportional to population values. Built with React and D3 v5, it uses `scaleBand` for the categorical y-axis and `scaleLinear` for the population scale, rendering SVG rectangles via the custom `Marks` component. Data is loaded from a CSV using `d3.csv`, with tick values formatted using `d3.format`.
AI-generated description