Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity_6_Pavan_Ques_2

Public visualization

Activity_6_Pavan_Ques_2

0 stars1🌍 Public
Ppavanbellam@my.unt.edu
Last edited Apr 5, 2025
Created on Apr 3, 2025
Forked from Hello VizHub

A horizontal bar chart displays the top 10 most populous countries in the year 2000, with each bar’s length proportional to its population value. The visualization loads CSV data from a GitHub gist via `d3.csv`, then uses `d3.scaleBand` for the categorical y-axis and `d3.scaleLinear` for the numeric x-axis. Rectangles are rendered in SVG with a teal fill, while `d3.axisLeft` and `d3.axisBottom` generate the axes, and tick labels are formatted using `d3.format('.2s')`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed