Interactive Color Legend with Menus
This interactive scatter plot explores the College Dataset, showing relationships between academic metrics like enrollment, admissions, and faculty qualifications. Users dynamically select which attributes appear on the x and y axes using React dropdown menus, while the color legend distinguishes public versus private institutions. Built with React and D3 v5, the visualization uses `scaleLinear` and `scaleOrdinal` for positioning and coloring, rendering as SVG. Hovering over legend items filters the displayed points and fades non-matching data, providing an interactive way to compare institutional characteristics.
AI-generated descriptionA scatter plot of The College Dataset.
Enroll: number of new students enrolled. Phd: Percent of faculty with Ph.D's Private: Public/Private indicator.