🌍 Public
Viewing a saved revision (read-only)
a5dea1c4ea634498b0024bee18971c2e
act_6
A horizontal bar chart displays the populations of ten countries for the year 2000, sorted by country name. Each bar’s length encodes the numeric population value, with a tooltip showing the formatted value on hover. Built with React and D3 v5, the example uses `scaleBand` for the categorical y-axis and `scaleLinear` for the continuous x-axis. Data is loaded from a remote CSV via `d3.csv`, and axes and marks are rendered as SVG elements through custom React components.
AI-generated description