Skip to main content
100%

Interactive Color Legend Scatter Plot

✓ Published0🌍 Public
CCodeDuckie99
Last edited Mar 14, 2021
Created on Mar 14, 2021

This interactive scatter plot visualizes the Iris flower dataset, allowing users to explore relationships between sepal and petal measurements across three species. The visualization uses a dropdown menu to switch between different measurement attributes for both the X and Y axes. Hovering over the color legend highlights points of a selected species while fading the others to opacity 0.2. The React-based application leverages d3.scaleLinear, d3.scaleOrdinal, and d3.csv for data loading and scaling, rendering the SVG chart with custom React components for axes, marks, and the interactive legend.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes