Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Heatmap: Billionaires D3

Public visualization

Heatmap: Billionaires D3

0 stars2🌍 Public
EEunice Tu
Last edited Feb 18, 2024
Created on Feb 17, 2024
Forked from D3 Starter

This heatmap visualizes billionaire wealth across regions and wealth types, with each cell colored by total wealth worth in billions and a tooltip displaying the exact value on hover. The chart uses D3 v6 with SVG rendering, employing `d3.scaleBand` for the x and y axes and `d3.scaleLinear` for the color mapping. Data is loaded from a CSV via `d3.csv`, and interactivity is handled through mouseover, mousemove, and mouseleave events that control a custom tooltip div. The visualization is titled and subtitled directly within the SVG.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed