Activity 6 Question 1.1
✓ Published1🌍 Public
This example shows a horizontal bar chart comparing the populations of ten countries in the year 2000, using a React-based SVG rendering with D3.js v5. The chart displays population values along the x-axis with formatted tick labels (using `d3.format`) and country names on the y-axis using `scaleBand`. Data is loaded asynchronously from a CSV file via `d3.csv`, with population values multiplied by 1000 for display. The visualization includes axis components, light green bars, and tooltips showing formatted values via SVG `<title>` elements.
AI-generated descriptionMIT Licensed