🌍 Public
Viewing a saved revision (read-only)
b6daafe4e9744eb28ad15d80e1a095b7
Interactive Color Legend with Menus
An interactive scatter plot of the College Dataset explores relationships among academic metrics. Dropdown menus switch the X and Y attributes, while hovering over the ordinal color legend highlights points from either public or private institutions by fading non-matching circles. The React and D3 v5 implementation uses `scaleLinear` for axes, `scaleOrdinal` for colors, and React state to manage selections and hover interactions, rendering the SVG marks with reusable axis and legend components.
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.