Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity8_Question1.2

Public visualization

Activity8_Question1.2

0 stars0🌍 Public
Vvishnupriyapalagiri@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Hello VizHub

A horizontal bar chart displays the 20 most populous countries in 2010, with each bar labeled by country name and scaled by population in billions. The visualization uses React components with D3 v5 utilities, including `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis. Data is loaded asynchronously from a CSV file via `d3.csv`, and SVG rectangles render the bars with tooltips showing formatted population values. Axes are built from custom React components that map D3 scales to SVG elements.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed