🌍 Public
Viewing a saved revision (read-only)
1990527e1c5c4d5e9835b3cee5bd63f9
Q1.1
A horizontal bar chart compares the year-2000 populations of ten countries, using data from Activity6_Population.csv. The chart uses D3 v7 to load and parse the CSV, filtering rows for the year 2000. A `d3.scaleLinear` maps population values to the x-axis, while a `d3.scaleBand` positions the categorical country labels on the y-axis. Rectangles are appended and sized based on the scaled population values, with axis labels and tick formatting applied via `d3.axisBottom` and `d3.axisLeft`.
AI-generated description