Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6_Task 1

Public visualization

Viewing a saved revision (read-only)

bfebcf7498e7451ca8fce68212fdd766

Activity 6_Task 1

0 stars0🌍 Public
PPreethamreddyannavaram@my.unt.edu
Last edited Mar 28, 2025
Created on Mar 28, 2025
Forked from Hello VizHub

This horizontal bar chart displays the populations of 30 countries in 2020, ranked from largest to smallest on the y-axis. It uses React to render SVG elements, with D3 v5’s `scaleBand` and `scaleLinear` mapping the categorical and quantitative variables, and axes generated by the custom `AxisBottom` and `AxisLeft` components. The data is loaded asynchronously from a CSV via `d3.csv`, with population values formatted in billions using `d3.format`.

AI-generated description