Activity_6-Question-1.1
✓ Published1🌍 Public
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 descriptionMIT Licensed