🌍 Public
Viewing a saved revision (read-only)
c2e935d3126a40d3be3f0c43bba908c6
Fork of Reusable D3 Scatter Plot- ICE7
This animated scatter plot visualizes the Iris dataset, cycling through four attribute combinations (petal and sepal width/length) on the x-axis. The y-axis remains fixed at sepal length, while data points are color-coded by species. The visualization employs a reusable D3 scatter plot module, using `scatterPlot` to manage scales and axes, and directly appends SVG circles with custom colors and dimensions. The animation is driven by `setInterval`, which updates the x-axis mapping and re-applies the plot, with axis labels and a legend adjusted dynamically.
AI-generated description