Skip to main content
100%

Activity6_Question1

✓ Published0🌍 Public
Kkandooriabhiram@gmail.com
Last edited Apr 1, 2025
Created on Apr 1, 2025
Forked from Activity6_Task1

This visualization displays the populations of ten countries in 2010 as a horizontal bar chart, with country names on the y-axis and population values on the x-axis. Using React and D3 v6, the code employs `scaleBand` and `scaleLinear` for positioning, while `csv` loads data from a GitHub-hosted CSV file. SVG rectangles render the bars, with `format('.2s')` converting large numbers into abbreviated labels like "1.2B". The chart includes custom axis components and tooltips via SVG `<title>` elements.

AI-generated description
MIT Licensed

Similar vizzes