Skip to main content
šŸŒ Public

Share visualization

Send this visualization to others.

Fork of Fork of dv.35 - interactive color legend

Public visualization

Viewing a saved revision (read-only)

c109439391354b0dab9a2a5bfccf3490

Fork of Fork of dv.35 - interactive color legend

0 stars0šŸŒ Public
Jjun-yu172
Last edited Jun 4, 2021
Created on Jun 4, 2021

This interactive scatter plot visualizes the classic Iris dataset, using color to distinguish species. A legend with circles and text labels enables hovering to highlight a selected species and fade the others, while also adjusting axis opacity. Users can swap the X and Y axes between sepal and petal measurements using dropdowns and a swap button. Built with React and D3 v6, the visualization uses `scaleLinear`, `scaleOrdinal`, `extent`, and `cs` for data loading and rendering SVG marks and axes.

AI-generated description

A scatter plot of The Iris Dataset.

--
Datavis 2020 #35