Skip to main content
100%

Fork of Activity6_Task1

✓ Published2🌍 Public
Ppuneetputtu@my.unt.edu
Last edited Mar 31, 2025
Created on Mar 31, 2025
Forked from Activity6_Task1

This bar chart visualizes the top 30 most populous countries in 2020 using a horizontal layout, with population values displayed in millions on the x-axis and country names on the y-axis. The visualization loads CSV data via d3.csv, then sorts and filters the dataset before rendering SVG rectangles with React components. The chart employs d3.scaleLinear for the x-axis and d3.scaleBand for the y-axis, with custom AxisBottom and AxisLeft components generating tick marks and labels. The bars use a consistent teal fill with rounded corners, and the code includes fallback data sources and error handling for network failures.

AI-generated description
MIT Licensed

Similar vizzes