Skip to main content
100%

Activity 6_Task 1

✓ Published0🌍 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

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes