Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Scatter Plot with Color Legend

Public visualization

Viewing a saved revision (read-only)

cbf68b06c8eb40e2a09a389937d2f8de

Fork of Scatter Plot with Color Legend

0 stars0🌍 Public
KKwame Porter Robinson
Last edited Dec 16, 2022
Created on Dec 16, 2022

This scatter plot visualizes the Iris Dataset, mapping petal length and sepal width for individual flowers, with color encoding species. Built with React and D3 v5, it uses `scaleLinear` for axes and `scaleOrdinal` for the categorical color scale. A custom `ColorLegend` supports interactive hover, which dims non-matching points and re-renders the highlighted subset. Axes are generated via reusable `AxisBottom` and `AxisLeft` components, while SVG circles serve as marks.

AI-generated description

A scatter plot of The Iris Dataset with color legend.