Skip to main content
100%

Interactive Color Legend

✓ Published0🌍 Public
Aafcchilders
Last edited Jan 20, 2022
Created on Jan 20, 2022

This interactive scatter plot displays the Iris dataset, plotting sepal length against sepal width. Users can hover over the color legend to highlight data points of a specific species, which fade all other points to 20% opacity. The visualization uses D3.js scales for positions and colors, rendered as SVG through React components. The legend is built using D3's `scaleOrdinal` domain mapping, with hover events managed by React's `useState` hook.

AI-generated description

A program that loads in some data about CSS colors

MIT Licensed

Similar vizzes