🌍 Public
Viewing a saved revision (read-only)
77506a3b5d36446a86761dec5bde248f
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.