Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Interactive Color Legend

Public visualization

Viewing a saved revision (read-only)

bacbf73ff03b41c4ba817ba7b71b0a34

Interactive Color Legend

0 stars0🌍 Public
EEast007
Last edited Oct 5, 2020
Created on Oct 5, 2020

This interactive scatterplot displays the classic Iris flower dataset, with dropdown menus to select which measurement (sepal length, sepal width, petal length, petal width, or species) appears on each axis. The species of each flower determines the circle’s color using an ordinal color scale. The visualization, built with React and D3 v5, renders as SVG, with reusable axis and marks components. The axes are constructed with `scaleLinear`, while dropdown interactions update the scales and marks based on the selected attributes.

AI-generated description