Skip to main content
100%

Activity6_Task1

✓ Published0🌍 Public
AAftab Hussain
Last edited Mar 31, 2025
Created on Mar 31, 2025
Forked from Hello VizHub

A bar chart displays the population of 20 countries in 2010, ranked along a vertical band scale. The React application loads CSV data from a GitHub URL via D3’s `csv` and uses `scaleBand` and `scaleLinear` to position bars, with axes rendered as SVG elements from custom `AxisBottom` and `AxisLeft` components. Native SVG `<title>` elements provide tooltips on hover, and ticks are formatted using `format('.2s')` to abbreviate large numbers.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes