🌍 Public
Viewing a saved revision (read-only)
fa90b00b772742e6887a9458bf0d7b66
Fork of Axes with React & D3
This example displays a bar chart of the top 10 most populous countries from the United Nations World Population Prospects 2019 dataset. It renders an SVG using React components that manage state via `useState` and `useEffect`. The chart uses `d3.csv` to load data and `scaleBand` and `scaleLinear` to position bars, while hand-coded D3 ticks generate axis lines and labels without using `d3.axis`.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.