Skip to main content
100%

Fork of Fork of Bar Chart with Basic Hover

✓ Published1🌍 Public
NNguyen Le Ngoc Tran
Last edited Nov 3, 2025
Created on Nov 3, 2025

This example shows a horizontal bar chart of the top 10 countries by population, using data from the UN Population Estimates 2024 dataset. When a bar is hovered, it turns black while the others fade to gray. The visualization is built with D3.js (version 7.8.5), using `scaleBand` and `scaleLinear` for positioning, along with the `observeResize` and `axes` utilities from `@curran/responsive-axes`.

AI-generated description
MIT Licensed

Similar vizzes