Activity7.1_Tutorial
This animated scatter plot explores the Iris dataset, cycling through four different feature combinations on the x-axis to reveal relationships between sepal and petal measurements. Built with D3.js (version 6.7), the visualization uses an SVG canvas and a reusable `scatterPlot` function that handles axis scaling and circle placement. The code applies color coding by species (skyblue, lightgreen, orange) and includes a legend, axis labels, and a title. A `setInterval` timer sequentially updates the x-axis mapping to petal_width, sepal_width, petal_length, or sepal_length, while the y-axis remains fixed on sepal_length, demonstrating dynamic data exploration.