Skip to main content
100%

dotplot.billionaires.p5.js

✓ Published0🌍 Public
EEunice Tu
Last edited Feb 3, 2024
Created on Feb 3, 2024

This dot plot compares the average net worth of billionaires across different inheritance categories, from non-inherited wealth to those inherited through a spouse or widow. The p5.js sketch loads a filtered CSV dataset from the Corgis billionaires collection via `loadTable`, then renders labeled axes with tick marks and grid lines. It places each category label along the x-axis while computing the plotted positions from the average worth values in billions, though the visual encoding relies on the canvas drawing API rather than a dedicated charting library.

AI-generated description

(https://gist.github.com/eunicetu16/119ee3d3babaed5f263119abe3664f3f)

The original dataset is from "https://corgis-edu.github.io/corgis/csv/billionaires/" The dataset has been modified and filtered to have only two columns (inherited_type, Average worth in billions) The total worth has been grouped with different inherited types and the average wealth.

MIT Licensed

Similar vizzes