Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6 Question 1.2

Public visualization

Viewing a saved revision (read-only)

6bf78a89acf44df8a2a15c9cdf56f665

Activity 6 Question 1.2

0 stars0🌍 Public
BBharath Vupputuri
Last edited Apr 4, 2025
Created on Apr 4, 2025

This horizontal bar chart displays the populations of 20 countries in 2010, sorted by country name. The visualization uses D3 v5 scales and SVG rendering within a React framework to map population values to bar lengths. The code employs `scaleBand` for the categorical y-axis, `scaleLinear` for the quantitative x-axis, and `csv` to load remote data. Population values are formatted using `siFormatter` to abbreviate large numbers (e.g., converting billions to "B").

AI-generated description