scatterplot with menu and color and legend
✓ Published1🌍 Public
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 descriptionA 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