Skip to main content
100%

Task1_Q2

✓ Published0🌍 Public
GGunna,Praneeth Reddy
Last edited Oct 29, 2025
Created on Oct 29, 2025
Forked from Task1_Q1

This chart displays the populations of the top 20 countries in 2010 as horizontal bars, with the D3.js `csv` module loading data from a raw GitHub dataset. The React component uses `scaleBand` and `scaleLinear` to map country names and population values to the SVG canvas, with `AxisBottom` and `AxisLeft` rendering the tick marks. The bar marks, colored light green, include a native SVG `<title>` tooltip that formats the population values using D3's `format('.2s')` function.

AI-generated description
MIT Licensed

Similar vizzes