Fork of Interactive Color Legend
✓ Published0🌍 Public
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.
MIT Licensed