Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Interactive Color Legend

Public visualization

Viewing a saved revision (read-only)

384b61bce0114da1b57b2a411d65cf0d

Fork of Interactive Color Legend

0 stars0🌍 Public
JJONATHAN SIMON
Last edited Nov 15, 2021
Created on Nov 15, 2021

This interactive scatter plot visualizes the Iris dataset, mapping petal length against sepal width for three iris species. Users can hover over the color legend to highlight data points of a specific species while dimming others, implemented through React state management. The visualization uses D3 scale functions including `scaleLinear` for axes and `scaleOrdinal` for categorical colors, with SVG rendering for marks and axes. Data is loaded via `d3.csv` from a GitHub gist, and hover interactions are handled through mouse events in the `ColorLegend` component.

AI-generated description

A scatter plot of The Iris Dataset.