🌍 Public
Viewing a saved revision (read-only)
9083e7b54c504597a8be1f168db2885e
Activity6_Question1.2
This visualization displays the populations of 20 countries in 2010 as horizontal bars, with country names on the y-axis and population values on the x-axis. The bar chart uses React components to render SVG elements, with d3.scaleBand for the categorical y-axis and d3.scaleLinear for the quantitative x-axis. Data is loaded asynchronously from a CSV file using d3.csv, and formatted with d3.format to show values in billions. The bars include native SVG `<title>` tooltips for exact values.
AI-generated description