Skip to main content
100%

Activity_6-Question-1.1

✓ Published1🌍 Public
Nnikhilthoutu24@gmail.com
Last edited Apr 4, 2025
Created on Apr 3, 2025
Forked from Activity 6_Task 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
MIT Licensed

Similar vizzes