🌍 Public
Viewing a saved revision (read-only)
f8a6fc9d815f4f349a540796ca28fa6f
Activity_6-Question-1.1
A horizontal bar chart displays the populations of ten countries for the year 2000, rendered as SVG rectangles using React components. The chart employs d3.scaleBand and d3.scaleLinear to map country names and population values to pixel coordinates, with axis components built from d3 tick marks. Population data is loaded from a remote CSV file via d3.csv, and formatted with d3.format as billions. Red bars include native SVG tooltips displaying the formatted population values on hover.
AI-generated description