Fork of Axes with React & D3
✓ Published0🌍 Public
This example displays a horizontal bar chart of the top 10 most populous countries, using data from the United Nations World Population Prospects 2019. The visualization renders as an SVG and combines React for component management with D3’s `scaleBand` and `scaleLinear` for axes and bars, while D3’s `csv` fetches the data. Axes are drawn manually with SVG elements, populating ticks and labels through D3’s scale methods, all within a React app that loads data asynchronously.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed