🌍 Public
Viewing a saved revision (read-only)
df4f49e3b55d42d0ab289033600defc0
dv.22.2 - axes & labels w/ react & d3
This bar chart displays the 20 most populous countries, with populations from the United Nations World Population Prospects 2019 dataset. D3.js scales map country names to the y-axis and population values to the x-axis. React renders the SVG, with map methods generating axis ticks and labels. The chart uses `scaleBand` and `scaleLinear` from D3, and React's `useState` and `useEffect` for data loading and state management.
AI-generated descriptionA program that shows the top 20 most populous countries with axes and labels.