Skip to main content
100%

Axes Works

✓ Published1🌍 Public
Aangelathacker123
Last edited Feb 18, 2022
Created on Feb 18, 2022
Forked from Axes Second Try

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 description

Uses React to render data

MIT Licensed

Similar vizzes