Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task1

Public visualization

Viewing a saved revision (read-only)

957a074814164dc980245d345d363de2

Activity6_Task1

0 stars0🌍 Public
SShashankkodishala@my.unt.edu
Last edited Oct 18, 2024
Created on Oct 18, 2024
Forked from Hello VizHub

This bar chart displays the 2020 population of 30 countries, sourced from a CSV file, with countries on the y-axis and population on the x-axis. The visualization uses React components to render SVG marks, with d3.scaleBand and d3.scaleLinear for positioning, and d3.format for abbreviating tick labels (e.g., "B" for billions). The code leverages d3.csv for data loading and includes tooltips via SVG `<title>` elements.

AI-generated description