Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Q1.1

Public visualization

Viewing a saved revision (read-only)

172ba0278a7b47649bfcdbc91cea9c4b

Activity6_Q1.1

0 stars1🌍 Public
MManojsai Bangaru
Last edited Mar 31, 2025
Created on Mar 31, 2025
Forked from Hello VizHub

This visualization is a horizontal bar chart showing the population of the top 10 countries in the year 2000, sourced from a CSV file fetched via `d3.csv`. It uses D3 v7's `scaleLinear` and `scaleBand` to map population values and country names to the SVG canvas, with custom axis components (`AxisBottom` and `AxisLeft`) labeling the axes. Light green rectangles represent each country's population, and the data is sorted in descending order before rendering. The chart includes title and axis labels, all styled through inline SVG attributes.

AI-generated description