🌍 Public
Viewing a saved revision (read-only)
1ab2f95b4c574559b2bee78734f3c3aa
Fork of Interactive Color Legend
This example shows a scatter plot of the Iris Dataset, mapping petal length and sepal width along the axes and coloring each point by species. Hovering over a species name in the color legend fades non-matching points to 20% opacity and re-renders them at full opacity, built with React components and D3 scales (scaleLinear, scaleOrdinal). SVG circles render the marks, with axes from custom AxisBottom and AxisLeft components.
AI-generated descriptionA scatter plot of The Iris Dataset.