🌍 Public
Viewing a saved revision (read-only)
c60cc86236e0498a9a5a07b4675c3a89
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