Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6_task 1 Q1.1

Public visualization

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.

Comments

Sign in to join the discussion.

MIT Licensed