Skip to main content
100%

ICE7-11540639-Reusable Scatter Plot

✓ Published1🌍 Public
SSravanthi Silla
Last edited Mar 28, 2022
Created on Mar 24, 2022

This interactive scatter plot visualizes the Iris dataset, showing the relationship between petal length, petal width, sepal length, and sepal width, with each species color-coded (setosa as orangered, versicolor as green, and virginica as navy). The visualization uses D3.js (v6.7.0) with a reusable scatter plot component, loading data via `csv()`, and rendering SVG circles with animated transitions. Every two seconds, the plot cycles through different axis columns using `setInterval()` and reassigns the x-axis value, causing the scatter plot to dynamically update its layout while the y-axis remains fixed to sepal length.

AI-generated description
MIT Licensed

Similar vizzes