Skip to main content
100%

scatterplot with menu and color and legend

✓ Published1🌍 Public
Sseanowh
Last edited Sep 18, 2021
Created on Sep 18, 2021

An interactive scatterplot of the Iris dataset lets users explore relationships between four numeric flower measurements by selecting which attributes map to the X and Y axes via two dropdown menus. Circles represent individual flowers, colored by species through a categorical ordinal scale, with a legend identifying the three classes and tooltips showing values on hover. The visualization uses React state to manage axis selections and renders SVG marks with D3 scales, including `scaleLinear` for axes and `scaleOrdinal` for colors, while axis ticks are drawn with custom components.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React state to keep track of the data.

MIT Licensed

Similar vizzes