Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

task1_q2

Public visualization

task1_q2

0 stars0🌍 Public
Bbadiniswetha@gmail.com
Last edited Apr 6, 2025
Created on Apr 3, 2025
Forked from Hello VizHub

This horizontal bar chart ranks the top 20 countries by population in 2010, using light green bars that darken on hover. The chart loads CSV data from a GitHub repository, formats population values with d3.format, and renders SVG elements through React components. D3’s scaleBand and scaleLinear handle the axes, while custom React components (AxisBottom, AxisLeft, Marks) create the ticks, labels, and rectangular marks with tooltip titles.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed