🌍 Public
Viewing a saved revision (read-only)
10bbab6bee8a43c1ab67f977d792beb6
Activity8_Question1
This visualization displays the population of ten countries in the year 2000 as a horizontal bar chart. Each bar’s length is proportional to population value, with country names on the y-axis and a formatted population scale (using abbreviations like “B” for billions) on the x-axis. The chart uses React components with d3.scaleBand and d3.scaleLinear for positioning, and d3.format for tick labels. Data is loaded asynchronously from a CSV file using d3.csv, and rendered as SVG rectangles with native tooltips.
AI-generated description