Skip to main content
100%

Scatter Plot with Interactive Color Legend

✓ Published0🌍 Public
MMichael Bruno
Last edited Feb 3, 2023
Created on Feb 3, 2023

This scatter plot visualizes the Iris dataset, showing relationships between four flower measurements with the x and y axes controlled by dropdown menus. The color legend is interactive: hovering over a species option fades non-matching points to 20% opacity while keeping the selected species fully visible. Built with React and D3 v5, the visualization uses d3.scaleLinear for axes, d3.scaleOrdinal for species colors, and inline SVG circles for data points. Dropdown components from react-dropdown handle attribute selection for both axes.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes