Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task1

Public visualization

Activity6_Task1

0 stars2🌍 Public
Ppuneetputtu@my.unt.edu
Last edited Apr 1, 2025
Created on Apr 1, 2025

A horizontal bar chart displays the top 30 countries by 2020 population, sorted in descending order with a teal fill. The visualization uses d3.csv to load data from a GitHub-hosted CSV file, d3.scaleLinear and d3.scaleBand to map population values and country names to SVG coordinates, and d3.axisBottom with custom tick formatting to label values in millions and billions. Bars are rendered as SVG rect elements within a React framework, with an interactive hover effect that reduces opacity.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed