Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Question1.2_sivani

Public visualization

Viewing a saved revision (read-only)

d3a27aef078245e38bd46dfdf5b09822

Question1.2_sivani

0 stars0🌍 Public
Kkommineniamarasadasivani2002@gmail.com
Last edited Mar 31, 2025
Created on Mar 31, 2025
Forked from Hello VizHub

A horizontal bar chart ranks countries by their 2010 population, with bars extending from a shared left axis for easy comparison. The visualization is built with React, rendering SVG elements through D3 v5's `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis, with population values fetched from a CSV via `d3.csv` and formatted with `d3.format`. Axes are custom components that draw ticks and labels, and each bar includes a tooltip via a `<title>` element showing the formatted population value.

AI-generated description