Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Task 1 Question 1.2

Public visualization

Fork of Task 1 Question 1.2

0 stars1🌍 Public
AAbhinay Peeta
Last edited Apr 8, 2025
Created on Mar 31, 2025

This horizontal bar chart ranks 20 countries by 2010 population, with the bars extending from a shared origin and the country names on the y-axis. The chart uses D3 v5 for data loading, scaling, and formatting, and React for rendering SVG components. The red, green, and blue data is fetched from a remote CSV; the `d3.scaleBand` and `d3.scaleLinear` APIs drive the layout, while `d3.format` is used to abbreviate large numbers.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed