🌍 Public
Viewing a saved revision (read-only)
a035bd4f0e2441daa8c8d7afdb47a2fe
activity7_tutorial
This animated scatter plot cycles through different Iris flower measurements, displaying petal width and sepal length on the axes while each species is colored distinctly. The visualization uses D3.js (v6) to load CSV data from a GitHub gist, render SVG circles and axes, and update the plot at intervals via `setInterval`. The code demonstrates a reusable `scatterPlot()` function with configurable scales and margins, alongside custom legend elements and axis labels.
AI-generated descriptionA demonstration of reusable scatter plot.