Skip to main content
100%

Activity6_Task1

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

This horizontal bar chart displays the top 30 most populous countries in 2020, sorted in descending order with population values formatted in millions along the x-axis. The visualization uses React with D3 v7 scales and SVG rendering, fetching its CSV data from a GitHub repository with fallback sample data if the request fails. Bars are rendered as SVG rectangles using the `scaleBand` for country positioning and `scaleLinear` for population values, with axis components built through custom React functions for ticks and labels.

AI-generated description
MIT Licensed

Similar vizzes