🌍 Public
Viewing a saved revision (read-only)
a14309f966ba4b838b229f7f25c81310
Scatter Plot with Color
This interactive scatter plot visualizes the Iris dataset, plotting measurements like petal length and sepal width against each other. It uses color to distinguish the three Iris species, with a dropdown menu letting users select which attributes appear on the X and Y axes. Built with React, D3, and rendered as SVG, the code defines custom `AxisBottom`, `AxisLeft`, and `Marks` components that leverage D3's `scaleLinear` and `scaleOrdinal` for scaling, along with tooltips showing values on hover.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.