🌍 Public
Viewing a saved revision (read-only)
3b9f9f42d11d4a4cbbe04370511868db
Income by Race & Gender
This interactive grouped bar chart estimates median household income across five racial categories, disaggregated by male and female householders, based on U.S. Census Bureau data. Built with React and D3 v7, it uses `scaleBand` for grouped positioning, `axisLeft` for the y-axis, and interactive tooltips with a reference line. The chart features animated transitions via `transition` on hover interactions, and a legend that highlights bars by gender. Users can explore patterns in income disparities, with color-coded bars and value labels providing clarity.
AI-generated descriptionReact Starter code.