Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Q2_Activity_7

Public visualization

Viewing a saved revision (read-only)

c0e577e0186f4301a07400467415691e

Fork of Q2_Activity_7

0 stars0🌍 Public
Kkaushikreddy901@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from Q2_Activity_7

A horizontal bar chart displays the populations of 20 countries in 2010, sorted alphabetically with a green fill and blue axes. The visualization uses React to render SVG elements, with D3 v5 scales (`scaleBand`, `scaleLinear`) and formatting (`format`) to compute bar positions and abbreviate tick labels like "1.5B". Data loading is handled by D3's `csv` parser, fetching a remote CSV and multiplying the raw 2010 values by 1000 to represent actual population counts.

AI-generated description

A demonstration of how to start using D3 version 6.