Fork of Interactive Color Legend
This interactive scatter plot displays the Iris dataset, mapping petal length and sepal width for different species. Hovering over a color legend dims non-matching data points, allowing users to isolate a single species. The visualization uses React with D3.js for scales and axes, rendering circles via SVG. The code defines custom `Marks`, `AxisBottom`, `AxisLeft`, and `ColorLegend` components, using `d3.scaleLinear`, `d3.scaleOrdinal`, and `d3.extent` for data handling.