Skip to main content
100%

ICE7-Q1

✓ Published0🌍 Public
Bbrodyoneal10@gmail.com
Last edited Mar 29, 2026
Created on Mar 29, 2026

This animated scatter plot cycles through four Iris dataset variable pairs on the x-axis—petal width, sepal width, petal length, and sepal length—while keeping sepal length fixed on the y-axis. It uses D3’s `scaleLinear`, `axisLeft`, and `axisBottom` to render axes, with `scaleOrdinal` and `schemeCategory10` coloring points by species. A `setInterval` updates the chart every two seconds by re-binding the x-value accessor and label, demonstrating reusable chart composition via a custom `scatterPlot` function. The visualization renders as SVG with a full-window layout.

AI-generated description
MIT Licensed

Similar vizzes