Fork of Axes with React & D3
✓ Published0🌍 Public
This example displays a bar chart of the top 10 most populous countries using React and D3 v5. It shows horizontal bars representing population data from the United Nations World Population Prospects 2019, with manually drawn axes and tick labels. The code uses React hooks like `useState` and `useEffect` to fetch CSV data, and D3's `csv`, `scaleBand`, `scaleLinear`, and `max` to scale and render the visualization as SVG elements.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed