Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity-6-q1.2

Public visualization

Viewing a saved revision (read-only)

7fead6c95d9241708d85aba365fd83d2

Activity-6-q1.2

0 stars0🌍 Public
Bbhargavr016@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Activity-6-q1.1

A horizontal bar chart displays the population of 20 countries in 2010, sorted by country name. The visualization uses D3’s `scaleBand` and `scaleLinear` to map countries and populations to SVG rectangles, with React managing the component structure. Data is loaded asynchronously via `d3.csv` from a GitHub-hosted CSV file, and population values are formatted with `d3.format` to abbreviate large numbers (e.g., “1.2B”). Blue axis lines and green bars are styled with CSS.

AI-generated description