Skip to main content
100%

Activity6_Task 1

✓ Published0🌍 Public
Aanisha.peddireddy@gmail.com
Last edited Mar 31, 2025
Created on Mar 31, 2025
Forked from Activity 7

A horizontal bar chart displays 2020 population estimates for 30 countries, ranked by country name on the y-axis and population on the x-axis. The visualization uses SVG rendering within a React component, with D3 v5 scale functions (`scaleBand`, `scaleLinear`) for positioning, and custom `AxisBottom` and `AxisLeft` components for ticks. Data loads asynchronously from a CSV file via `d3.csv` and formats axis labels using `d3.format`. Each bar includes a native SVG `<title>` tooltip showing the formatted population value.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes