🌍 Public
Viewing a saved revision (read-only)
7c7f37b1158d42569480086803f72f2b
Activity6_Task1.2
This visualization displays the population of the top 20 countries in 2010 as a horizontal bar chart, using a React-based SVG rendering with D3 version 5. The visualization uses `scaleBand` for the y-axis, `scaleLinear` for the x-axis, and formats tick labels using D3's `format` function to abbreviate large numbers (e.g., converting G to B). Data is loaded from a remote CSV file via D3's `csv` function, and each bar includes a tooltip showing the population value.
AI-generated descriptionStacked bars showing estimated religion breakdown of the most populous 20 countries in 2010.