Skip to main content
100%

Fork of Activity6_Task1

✓ Published0🌍 Public
IILYAS AHMED
Last edited Apr 6, 2025
Created on Apr 6, 2025
Forked from Activity6_Task1

This visualization displays the populations of 20 countries in 2010 as horizontal bars sorted along a categorical y-axis. Built with React and D3.v5, it uses `scaleBand` and `scaleLinear` to map countries and population values, rendering SVG rectangles with tooltips. Axis components generate custom ticks, with bottom tick labels formatted using `d3.format` to abbreviate large numbers (e.g., “1.2B”). Data is loaded asynchronously from a CSV file using D3’s `csv` function.

AI-generated description
MIT Licensed

Similar vizzes