Skip to main content
100%

Activity6_Question 1.1

✓ Published1🌍 Public
Hharinihari6791@gmail.com
Last edited Apr 6, 2025
Created on Apr 3, 2025
Forked from Activity6_Task 1

This chart displays the top 10 countries by population in 2000 as horizontal bars. The visualization uses React with D3 v5, employing `scaleBand` and `scaleLinear` to map countries and population values. Data is loaded from a CSV file via `d3.csv`, processed, and sorted. Axes are rendered with custom React components for bottom and left positions. Bars are drawn as SVG rectangles with hover effects, and population values appear as formatted tooltips using `siFormat` with 'G' replaced by 'B'.

AI-generated description
MIT Licensed

Similar vizzes