Skip to main content
100%

Activity6_Task 1

✓ Published3🌍 Public
Hharinihari6791@gmail.com
Last edited Apr 3, 2025
Created on Apr 3, 2025
Forked from Activity_6

This bar chart displays the top 30 countries by population in 2020, using horizontal bars sorted by country name. The visualization uses React components to render SVG elements, with D3 v5 scales (scaleBand for the y-axis and scaleLinear for the x-axis) managing coordinate mapping. Population values are loaded from a CSV file and formatted with a custom tooltip using D3's format function. The chart includes styled axes, hover effects, and a maximum domain slightly exceeding the largest population value.

AI-generated description
MIT Licensed

Similar vizzes