Skip to main content
100%

Fork of Activity 7

✓ Published0🌍 Public
Aanisha.peddireddy@gmail.com
Last edited Mar 31, 2025
Created on Mar 31, 2025
Forked from Activity 7

This fork of Activity 7 displays a horizontal bar chart of population data for 30 countries in 2020. The visualization uses React to render an SVG with D3.js scales and axes. The code employs `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis, with data loaded via `d3.csv` from a GitHub repository. Each bar is a `<rect>` element with a `<title>` tooltip showing the population value, formatted using D3's `format` function to abbreviate large numbers.

AI-generated description
MIT Licensed

Similar vizzes