Fork of Axes with React & D3
✓ Published0🌍 Public
This visualization displays the top 10 most populous countries as horizontal bars, with D3 scaleBand and scaleLinear handling the categorical y-axis and numeric x-axis respectively. The React component loads UN World Population Prospects 2019 data from a CSV URL, then renders SVG rectangles and tick marks. D3's max and ticks functions compute the scale domain and axis intervals, while React's useState and useEffect manage the asynchronous data loading and render the Loading placeholder.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed