Activity6_Question1.2
✓ Published0🌍 Public
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 descriptionMIT Licensed