Skip to main content
100%

Activity 6_Q1

✓ Published1🌍 Public
SSrihith Reddy Gaddam
Last edited Apr 27, 2025
Created on Apr 27, 2025
Forked from Activity 6_Task 1

This visualization shows the top 10 most populous countries in the year 2000 as a horizontal bar chart, using a React component structure with D3 v5 for data processing and SVG rendering. The code downloads CSV data via `d3.csv`, parses the population column, and sorts to select the top 10 countries. React renders SVG elements including axes (`AxisBottom`, `AxisLeft`) and rectangle marks (`Marks`), with D3’s `scaleBand` and `scaleLinear` mapping countries and population values, and a tooltip showing formatted population via `d3.format`.

AI-generated description
MIT Licensed

Similar vizzes