Skip to main content
100%

Fork of Activity 7.2

✓ Published0🌍 Public
BBhavanaGIrni
Last edited Jul 3, 2023
Created on Jul 3, 2023
Forked from Activity 7

This fork of Activity 7.2 renders a horizontal bar chart of the top 20 countries by population in 2020, with a green fill for each bar and a tooltip showing the formatted population value. Built with React and D3 v5, the visualization uses `scaleBand` for the categorical y-axis, `scaleLinear` for the numeric x-axis, and `svg` elements like `rect` and `text` for marks and labels. Data is loaded via `d3.csv` from a GitHub-hosted CSV file, and formatting uses `d3.format` to abbreviate large numbers.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes