Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6 Question 1.1

Public visualization

Viewing a saved revision (read-only)

4cb6f526635c4bb88e6e6f833c914e7b

Activity 6 Question 1.1

0 stars1🌍 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