Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task 1

Public visualization

Activity6_Task 1

0 stars1🌍 Public
Ppuneetputtu@my.unt.edu
Last edited Mar 31, 2025
Created on Mar 30, 2025
Forked from Hello VizHub

This visualization displays a horizontal bar chart ranking the top 30 countries by their 2020 population figures, sourced from a CSV file fetched via `d3.csvParse`. The React application uses D3.js scales (`scaleLinear`, `scaleBand`) to map population values to bar lengths and country names to vertical positions, rendering SVG rectangles with a teal fill. The chart includes labeled x and y axes, with population values formatted in millions (e.g., "1.4B"), and a fallback dataset is shown if live data fails to load.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed