Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity_6

Public visualization

Viewing a saved revision (read-only)

62cc9b43c0184d59b3e3225cad8ab8b5

Activity_6

0 stars0🌍 Public
Ssanjanadadi19@gmail.com
Last edited Mar 30, 2024
Created on Mar 30, 2024
Forked from Hello VizHub

This horizontal bar chart displays the populations of 30 countries in 2020, sorted by country name along the y-axis and population size along the x-axis. Built with React and D3 v5, it uses `scaleBand` for the categorical axis, `scaleLinear` for the numeric scale, and SVG `rect` elements for bars. Data loads from a CSV via the `csv` function, with population values converted from thousands, and axes are rendered by custom React components.

AI-generated description

A demonstration of how to start using D3 version 6.