Fork of Axes with React & D3
✓ Published0🌍 Public
This example displays a horizontal bar chart of the top 10 most populous countries, with a y-axis showing country names and an x-axis with tick marks and labels. The chart is built using React and D3 v5, with data loaded from the United Nations World Population Prospects 2019 dataset via `d3.csv`. React components render SVG elements for bars and axes, while D3’s `scaleBand` and `scaleLinear` handle the positioning and scaling of the visual encodings.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed