Skip to main content
100%

Activity 6 Question 1.1

✓ Published1🌍 Public
Aanisha.peddireddy@gmail.com
Last edited Mar 31, 2025
Created on Mar 31, 2025
Forked from Activity6 Task 1

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 description
MIT Licensed

Similar vizzes