🌍 Public
Viewing a saved revision (read-only)
b6cc72cb23174b4d84b202c9bb615911
Fork of React starter
A horizontal bar chart ranks the ten most populous countries using a dataset of country populations. Built with React and D3 v7, the visualization uses `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis, with SVG `<rect>` elements as marks. Axes are rendered manually via `scaleX.ticks()` and formatted with `format('0.2s')` to display billions. The chart loads CSV data asynchronously and includes an x-axis label, maintaining a clean, minimal design with styled grid lines and text.
AI-generated descriptionReact Starter code.