Axes Works
✓ Published1🌍 Public
This example shows a horizontal bar chart of the ten most populous countries from a UN population dataset for 2020, with labeled axes. The data loads via `d3.csv` from a GitHub gist, and the chart uses `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. React renders the SVG, generating tick marks and labels with `xScale.ticks()` and mapping data to `<rect>` elements.
AI-generated descriptionUses React to render data
MIT Licensed