Skip to main content
100%

Activity 7

✓ Published0🌍 Public
KKarnam Abinay Goud
Last edited Nov 1, 2024
Created on Nov 1, 2024
Forked from Fork of Activity-6

This interactive scatter plot explores the Iris dataset, cycling through four different variable pairings on the x-axis to reveal relationships between sepal and petal measurements. The visualization uses D3 (v6.7.0) with an animated `setInterval` to rotate the x-axis feature, while the y-axis remains sepal length. Each point is colored by species—setosa, versicolor, and virginica—using a custom marker function. The plot is rendered as an SVG with D3's `scaleLinear`, `axisLeft`, and `axisBottom` APIs, and includes a manual legend and axis labels.

AI-generated description

A demonstration of reusable scatter plot.

MIT Licensed

Similar vizzes