Skip to main content
100%

ACTIVITY 6_population

✓ Published0🌍 Public
Ppasumarthiraghuram21@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024

A horizontal bar chart displays the populations of ten countries in the year 2000, sorted from largest to smallest. Built with React and D3 v5, it uses `scaleBand` and `scaleLinear` to position bars, while custom `AxisBottom` and `AxisLeft` components render ticks and labels. The chart loads CSV data from a GitHub repository and formats population values in billions using D3's `format` function. SVG rectangles represent each bar, with hover tooltips provided by native `<title>` elements.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes