🌍 Public
Viewing a saved revision (read-only)
8936935acae24b1cb946dc3baa8a256b
Activity6_Q1.1
This bar chart displays the population of ten countries for the year 2000, with country names on the vertical axis and population values on the horizontal axis. Built with React and D3 v5, it uses `scaleBand` for the categorical y-axis, `scaleLinear` for the quantitative x-axis, and renders SVG rectangles via custom React components. The code formats axis tick labels using `format('.2s')` and loads data asynchronously from a CSV file using `csv` from D3.
AI-generated description