Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6 1.2

Public visualization

Activity6 1.2

0 stars0🌍 Public
Aa9.hemraj@gmail.com
Last edited Oct 30, 2025
Created on Oct 30, 2025

This interactive bar chart displays the 2010 population of 20 countries, with each bar’s length encoded by a linear scale and countries arranged on a categorical band scale. It uses React with D3 v5 scales and SVG rendering, loading CSV data from a GitHub URL. The bottom axis formats tick labels with D3’s `format` (abbreviating billions as “B”), while the left axis lists country names. Marks are colored green, and hover tooltips show exact population values.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed