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