Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Q2_Activity_7

Public visualization

Viewing a saved revision (read-only)

f5dc1842b4114503a5d8d0e396711c74

Q2_Activity_7

0 stars1🌍 Public
Ppavanpkkalyan3@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Activity 7

A horizontal bar chart displays 2010 population estimates for 20 countries, ranked by country name along the y-axis and population magnitude along the x-axis. Built with React and D3 v5, it uses `scaleBand` for the categorical axis, `scaleLinear` for the numeric axis, and SVG `<rect>` marks with tooltips. Data loads from a remote CSV via `d3.csv`, with values multiplied by 1000 and formatted using the `format` function to abbreviate billions as "B".

AI-generated description

A demonstration of how to start using D3 version 6.