Skip to main content
100%

Fork of Activity 7

✓ Published0🌍 Public
Cchowdaryhemanth14@gmail.com
Last edited Mar 30, 2025
Created on Mar 30, 2025
Forked from Activity 7

This fork of Activity 7 displays the populations of the first 30 countries from a CSV dataset for the year 2020 as horizontal bars. Built with React and rendered as SVG, it uses D3 v5 functions `scaleBand` and `scaleLinear` to map country names and population values to coordinates, with axis ticks from custom React components. The chart loads data via `d3.csv`, formats population values on the x-axis using `d3.format`, and provides hover tooltips.

AI-generated description
MIT Licensed

Similar vizzes