🌍 Public
Viewing a saved revision (read-only)
d58aefcd873a45c596c2c91c35758957
Billionaires Bar Chart with D3
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 descriptionA demonstration of how to start using D3 version 6.