🌍 Public
Viewing a saved revision (read-only)
7ca6bf8136174d8082c38003c7d72aa8
Activity 6 Question 1.1
This bar chart displays the population of ten countries in the year 2000, using horizontal bars sorted by country name. The visualization is built with React and D3 v5, where `d3.scaleBand` positions the categorical y-axis and `d3.scaleLinear` maps population values to bar widths. Data is loaded as a CSV via `d3.csv` from a GitHub repository, and SVG rectangles render the marks, with hover tooltips showing formatted population values using `d3.format`. Axis ticks and labels are generated by custom React components.
AI-generated description