Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6_task 1 Q1.1

Public visualization

Viewing a saved revision (read-only)

2361eb1cfdbd4d0c88b7d71ff693a5cd

Activity 6_task 1 Q1.1

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

This bar chart displays the population of ten countries in the year 2000, ranked along a vertical axis. The visualization uses React with D3 v5's `scaleBand` and `scaleLinear` to map country names and population values to SVG rectangles. Data is loaded via `d3.csv` from a GitHub-hosted CSV file, with population values converted from thousands. Axis components use `tickFormat` to abbreviate large numbers, converting 'G' to 'B' for billions.

AI-generated description

A demonstration of how to start using D3 version 6.