Interactive Color Legend - Lecture 35
This interactive scatterplot displays the Iris flower dataset, with dropdown menus to select the attributes plotted on the X and Y axes. The plot includes a color legend for species that supports hover interactions, highlighting the corresponding data points while fading others. Built with React and D3 v5, it uses `scaleLinear`, `scaleOrdinal`, and `extent` for scales, with custom React components for axes, marks, and a color legend. The dropdown menus use the `react-dropdown` library, and data is loaded via `d3.csv` from remote CSV files.