ICE - 7 Reusable Scatter Plot
✓ Published0🌍 Public
AArv1228
Last edited Mar 28, 2022
Created on Mar 28, 2022
Forked from ICE - 7 Reusable Scatter Plot Maanas Katta
This scatter plot animates through different pairings of Iris flower measurements, cycling every two seconds between petal width, sepal width, petal length, and sepal length on the x-axis while keeping sepal length on the y-axis. Built with D3 v6, the visualization uses a reusable `scatterPlot` module that leverages `scaleLinear`, `axisLeft`, and `axisBottom` to render axes, with circles colored by species (setosa, versicolor, or virginica). Data comes from a CSV of the classic Iris dataset, and the transitions are driven by `setInterval` calling the plot function with new x-value accessors.
AI-generated descriptionMIT Licensed