🌍 Public
Viewing a saved revision (read-only)
91a7cb2676d3467db7fec8551b355be6
Activity6_Q1.1
This visualization is a horizontal bar chart showing the population of the top 10 countries in the year 2000, sourced from a CSV file fetched via `d3.csv`. It uses D3 v7's `scaleLinear` and `scaleBand` to map population values and country names to the SVG canvas, with custom axis components (`AxisBottom` and `AxisLeft`) labeling the axes. Light green rectangles represent each country's population, and the data is sorted in descending order before rendering. The chart includes title and axis labels, all styled through inline SVG attributes.
AI-generated description