Skip to main content
100%

Activity6_Task 1

✓ Published1🌍 Public
Mmeghna.reddy700@gmail.com
Last edited Apr 5, 2024
Created on Apr 5, 2024
Forked from Activity 7

A horizontal bar chart displays the 2020 populations of 30 countries, sorted from largest to smallest with green bars and a blue axis. The visualization uses D3 v5 scales (`scaleBand`, `scaleLinear`) and React components to render SVG marks, with custom `AxisBottom` and `AxisLeft` components. Data is loaded asynchronously from a CSV file via `useData`, and the x-axis formats values using D3's `format` API to abbreviate large numbers. Tooltips provide exact population values on hover.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes