🌍 Public
Viewing a saved revision (read-only)
80f972ef8c8a4bb4ab46265c088f8d58
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