Fork of Axes with React & D3
✓ Published1🌍 Public
This example renders the top 10 most populous countries as horizontal bars using React for component structure and D3 for scales and data loading. It uses `scaleBand` and `scaleLinear` from D3 to map countries and population values to pixel positions, while manually drawing tick marks and labels for both axes. The data comes from the United Nations World Population Prospects 2019 CSV, and the SVG output demonstrates a minimal, self-contained approach to axis generation without D3 axis components.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed