Skip to main content
100%

Activity6_Question1

✓ Published1🌍 Public
Kkamalini.ponnuru11@gmail.com
Last edited Oct 17, 2024
Created on Oct 17, 2024

This visualization presents a horizontal bar chart showing the population of the top 10 countries in the year 2000, sorted in descending order. React with D3 v5 renders the SVG, using `scaleBand` for the categorical y-axis of country names and `scaleLinear` for the population values on the x-axis. The data is fetched via D3's `csv` function from a GitHub raw file, filtered and sorted. Tooltips are provided via SVG `<title>` elements, and axis labels are rotated for readability.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes