Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task - 1

Public visualization

Viewing a saved revision (read-only)

169e264223954d1dbccd2a64abdbe875

Activity6_Task - 1

0 stars2🌍 Public
NNitish Thotakura
Last edited Apr 3, 2025
Created on Apr 3, 2025
Forked from Hello VizHub

A horizontal bar chart displays the 2010 populations of 30 countries, ordered by name along the y-axis, with bar lengths proportional to population values on a linear scale. React components render the SVG visualization, while d3 v5 utilities (`csv`, `scaleBand`, `scaleLinear`, `max`, `format`) load data from a GitHub-hosted CSV and compute scales and tick formatting, abbreviating large numbers with SI prefixes. The bars use CSS fill colors, and hover tooltips show formatted values via native SVG `<title>` elements.

AI-generated description