🌍 Public
Viewing a saved revision (read-only)
9583b35084c04550b3f8041c9649943c
Activity 6_Taskl 1
A horizontal bar chart displays the top 30 countries by population in 2020, using light green bars ordered alphabetically by country name. The visualization employs D3.js v7 with SVG rendering, using `d3.scaleLinear` and `d3.scaleBand` for positioning, along with `d3.axisBottom` and `d3.axisLeft` for axes. Population values are formatted as billions on the x-axis, while the data originates from a CSV file hosted on GitHub, fetched asynchronously via `d3.csv`.
AI-generated descriptionA demonstration of how to start using D3 version 6.