Skip to main content
100%

Interactive Color Legend

✓ Published0🌍 Public
Ddaneslutzky
Last edited Oct 5, 2021
Created on Oct 5, 2021

This interactive scatterplot visualizes Iris flower measurements, plotting sepal length against sepal width for three species. The React-based interface uses D3.js scales (scaleLinear, scaleOrdinal) to position and color each circle. A custom ColorLegend component responds to mouse hover events, highlighting the selected species by fading all other points to 20% opacity. Hovering a legend item filters the visible marks, while tooltips display exact values. Data loads asynchronously from a CSV file using d3.csv.

AI-generated description

A program that loads data about CSS named colors and uses React to render the data.

MIT Licensed

Similar vizzes