Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6_Task1

Public visualization

Viewing a saved revision (read-only)

a5586dbec49346598406bac0f24d34b3

Activity 6_Task1

0 stars0🌍 Public
LLakshanya Sirigiri
Last edited Apr 5, 2025
Created on Apr 3, 2025
Forked from Hello VizHub

This interactive bar chart displays the populations of 30 countries for the year 2020, sourced from a GitHub-hosted CSV file. Each bar represents a country, with the length of the bar proportional to its population. The visualization is rendered using React and D3 v5, with a light green fill for the bars and blue tick lines for the axes. Tooltips, shown via `<title>` elements within the SVG `<rect>`s, provide formatted population values. The code utilities include D3's `scaleBand` and `scaleLinear` for coordinate mapping, `format` for tick labels, and `csv` for data loading.

AI-generated description