Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Heatmap with tooltip: Billionaires D3

Public visualization

Viewing a saved revision (read-only)

0cb1de9b19a74176a6fa375ba0046838

Heatmap with tooltip: Billionaires D3

1 star1🌍 Public
EEunice Tu
Last edited Mar 14, 2024
Created on Feb 18, 2024

This heatmap shows the total wealth in billions for billionaires grouped by region and wealth type, with a tooltip revealing exact values on hover. The visualization uses D3 v6 to render an SVG grid where each rectangle’s fill color is mapped via `d3.scaleLinear` from white to steelblue. Axes are built with `d3.scaleBand` and `d3.axisBottom`/`d3.axisLeft`, while mouse events control the tooltip’s opacity and position. Data comes from the CORGIS Billionaires Dataset, pre-aggregated and loaded as CSV via `d3.csv`.

AI-generated description