🌍 Public
Viewing a saved revision (read-only)
35daf1ce81f04c76baffb5d4bca99758
Fork of Axes with React & D3
This visualization displays the top 10 most populous countries as a horizontal bar chart, using a fork of React and D3. It renders SVG bars scaled by population, with x-axis ticks and y-axis country labels. The code uses React hooks (`useState`, `useEffect`) to fetch and manage data, alongside D3 v5 scales (`scaleBand`, `scaleLinear`), `csv` parsing, and `max` aggregation. Data comes from the United Nations World Population Prospects 2019 dataset via a provided URL.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.