Skip to main content
100%

Question1.2_sivani

✓ Published0🌍 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
MIT Licensed

Similar vizzes