Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Question 1.2

Public visualization

Viewing a saved revision (read-only)

8c9498a057d6481ebbd96a5e7ee813c4

Question 1.2

0 stars0🌍 Public
MMohammed Abdul Mannan
Last edited Oct 30, 2025
Created on Oct 30, 2025
Forked from Question 1.1

This chart shows the populations of 20 countries in 2010 as horizontal bars. React and D3 v5 are used to render an SVG visualization, with a band scale mapping countries to the y-axis and a linear scale for population values. Data is loaded from a remote CSV using `d3.csv`, and D3’s `scaleBand` and `scaleLinear` drive the layout, while `d3.format` with the `.2s` specifier formats tick labels and tooltips. Axes and marks are defined as React components, with custom tick styling for lines and text.

AI-generated description