Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity-6 question1.2

Public visualization

Activity-6 question1.2

0 stars0🌍 Public
Bbhargavireddy4016@gmail.com
Last edited Mar 31, 2025
Created on Mar 31, 2025
Forked from Hello VizHub

A horizontal bar chart displays the 2010 population for 20 countries, with each bar length proportional to population. The visualization uses React components (Marks, AxisBottom, AxisLeft) to render SVG rectangles, with d3.scaleBand for the categorical y-axis and d3.scaleLinear for the continuous x-axis. Data loads via d3.csv from a GitHub-hosted CSV file, and the bars include native SVG tooltips showing formatted population values using d3.format.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed