๐ Public
Viewing a saved revision (read-only)
2142e3a26ddb47ccb4879e9e9e065842
Iris Scatter Plot
This interactive visualization displays the Iris dataset, plotting 150 flowers on a scatter plot with selectable x- and y-axes. Users can switch between sepal and petal measurements via HTML dropdown menus. The code uses D3 v5 with SVG rendering, employing d3.scaleLinear for axes, d3.scaleOrdinal for color mapping, and d3.axisBottom/axisLeft for ticks. Each point animates from the plot center to its position using transition().duration(1000) and delay(). A legend identifies the three Iris species.
AI-generated descriptionReact Starter code.