Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Hello VizHub

Public visualization

Fork of Hello VizHub

0 stars0🌍 Public
SSrihith Reddy Gaddam
Last edited Apr 19, 2025
Created on Apr 19, 2025
Forked from Hello VizHub

This bar chart displays the population in 2000 for the ten most populous countries, sorted in descending order. The visualization uses D3 v7 to load CSV data via `d3.csv` with `autoType`, and renders horizontal bars with `d3.scaleBand` for the y-axis and `d3.scaleLinear` for the x-axis. The axes are drawn using `d3.axisLeft` and `d3.axisBottom`, with tick labels formatted using `d3.format('~s')`. The SVG output is styled with Poppins font and palegreen bars.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed