Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Question1.2

Public visualization

Viewing a saved revision (read-only)

9083e7b54c504597a8be1f168db2885e

Activity6_Question1.2

0 stars0🌍 Public
SSai Praveen Lokavarapu
Last edited Apr 5, 2025
Created on Apr 5, 2025
Forked from Hello VizHub

This visualization displays the populations of 20 countries in 2010 as horizontal bars, with country names on the y-axis and population values on the x-axis. The bar chart uses React components to render SVG elements, with d3.scaleBand for the categorical y-axis and d3.scaleLinear for the quantitative x-axis. Data is loaded asynchronously from a CSV file using d3.csv, and formatted with d3.format to show values in billions. The bars include native SVG `<title>` tooltips for exact values.

AI-generated description