🌍 Public
Viewing a saved revision (read-only)
3b5c48b3e252460487baff4c8a02d2e7
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