Skip to main content
100%

Scatter Plot with Interactive color Legend

✓ Published0🌍 Public
SSushan Prajapati
Last edited May 25, 2021
Created on May 25, 2021

This scatter plot visualizes the Iris Dataset, showing petal length against sepal width, with each point colored by species. An interactive color legend allows hovering over a species to highlight its corresponding data points while fading the others. Built with React and D3 v5, the visualization uses SVG for rendering, with scales and axes from `d3.scaleLinear` and `d3.scaleOrdinal`, and custom React components for marks and legends, interacting through hover state to update point opacity.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes