Skip to main content
100%

Activity6_Q1.1

✓ Published1🌍 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
MIT Licensed

Similar vizzes