Fork of Axes with React & D3
✓ Published0🌍 Public
This example uses React with D3 to render a horizontal bar chart of the top 10 most populous countries, based on United Nations World Population Prospects 2019 data. The visualization shows the population values as bars with x and y axes, where the x-axis displays tick marks generated by `d3.scaleLinear` and the y-axis lists country names using `d3.scaleBand`. The chart is drawn as an SVG within a React component, utilizing `useState` and `useEffect` to fetch and process the CSV data via `d3.csv`.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed