🌍 Public
Viewing a saved revision (read-only)
e397eae8f29b43aa9f686d1e51dafb92
Testing Link Data
This example displays a horizontal bar chart of country populations, using React to render SVG rectangles within a D3-powered coordinate system. The data is loaded asynchronously from a CSV file via `d3.csv`, then transformed with `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. The chart shows only the first ten rows of the dataset, with bar widths proportional to the population values. Loading state is handled with a simple text display while the data is being fetched.
AI-generated descriptionSmiley face implementation with React.