Skip to main content
100%

Fork of Activity 6_Task 1

✓ Published0🌍 Public
Llokasaivenkatatammineedi@my.unt.edu
Last edited Mar 28, 2025
Created on Mar 28, 2025

This example shows a horizontal bar chart of 2020 population estimates for 30 countries, ranked by country name. It uses React with D3 v5’s `scaleBand` and `scaleLinear` to map countries to bars and population values to bar widths, rendered as SVG `<rect>` elements with a `<title>` tooltip. The data is loaded via `d3.csv` from a GitHub gist, and axes are built custom components using D3’s tick generation.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes