Skip to main content
100%

Activity 6

✓ Published0🌍 Public
Kkblikitha22@gmail.com
Last edited Mar 31, 2025
Created on Mar 31, 2025
Forked from Hello VizHub

This horizontal bar chart ranks the 20 most populous countries in 2010, using a React and D3-based SVG visualization. The chart employs `d3.scaleBand` for the categorical y-axis and `d3.scaleLinear` for the quantitative x-axis, with population values formatted using `toLocaleString`. Data is loaded asynchronously from a CSV file via D3’s `csv` function, then sorted and filtered to the top 20 entries. Each bar includes a native SVG `<title>` tooltip, with axes and labels rendered from custom React components.

AI-generated description
MIT Licensed

Similar vizzes