Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Question1.1

Public visualization

Activity6_Question1.1

0 stars0🌍 Public
AAftab Hussain
Last edited Mar 31, 2025
Created on Mar 31, 2025
Forked from Hello VizHub

This bar chart displays the population of ten countries in the year 2000, sorted in descending order along a horizontal axis. Each bar’s length is proportional to the population value, and hovering reveals the precise figure in billions. The visualization is built with React and uses D3’s `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis, with data loaded from a CSV via `d3.csv`. The SVG render includes styled axes and tick labels, with a green fill for the bars.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed