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 descriptionBillionaires 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'