Skip to main content
100%

Activity 6 Question 1.1

✓ Published0🌍 Public
Ssagipavan2385@gmail.com
Last edited Apr 3, 2025
Created on Apr 3, 2025
Forked from Hello VizHub

This visualization displays the populations of ten countries in the year 2000 using a horizontal bar chart. The bars are drawn as SVG rectangles, with each country’s name shown on the y-axis and population values on the x-axis, formatted in billions. The code uses React to manage components, while D3 v5’s `scaleBand` and `scaleLinear` handle the axes and data scaling. The dataset is loaded via the `csv` function from a GitHub-hosted CSV file. Hovering over a bar reveals its exact population through a native SVG `<title>` tooltip.

AI-generated description
MIT Licensed

Similar vizzes