🌍 Public
Viewing a saved revision (read-only)
b8ce4028f0d2472987e4d8d85899ebec
activity6_Task1.1
This horizontal bar chart displays the population of ten countries in the year 2000, with light green bars extending from a left-aligned y-axis of country names to an x-axis of population values. The visualization uses D3 v7 to load CSV data via `d3.csv`, scale the values with `scaleLinear` and `scaleBand`, and render axes with `d3.axisBottom` and `d3.axisLeft`. Axis labels are annotated, and the bottom axis formats population values using `d3.format`, abbreviating millions as "B".
AI-generated description