Skip to main content
100%

Billionaires Bar Chart with D3

✓ Published1🌍 Public
EEunice Tu
Last edited Feb 20, 2024
Created on Feb 17, 2024
Forked from D3 Starter

This bar chart visualizes the relationship between inheritance type and the average net worth of billionaires, using a dataset from the CORGIS Billionaires project. It shows how average worth in billions varies across different inherited-type categories, with horizontal bars whose lengths encode the values. The visualization is built with D3 v7, using `scaleLinear` for the x-axis, `scaleBand` for categorical y-axis positioning, and `axisBottom`/`axisLeft` to render axes with light gray gridlines. Data is loaded via `d3.csv`, and hover states change bar colors to orange via CSS.

AI-generated description

Billionaires Dataset From the CORGIS Dataset Project 'https://corgis-edu.github.io/corgis/csv/billionaires/' Being eliminated to only 2 columns: 'inherited_type' and 'average_worth'

MIT Licensed

Similar vizzes