🌍 Public
Viewing a saved revision (read-only)
15016d64c3194c6fb9015a4f0de9d616
Reusable Scatter plot Activity 8
This interactive scatter plot displays the Iris dataset, animating through different feature pairs on the x-axis every few seconds. It uses the D3.js library (version 6.7.0) to create an SVG visualization, with a custom `scatterPlot` export that builds the plot using `scaleLinear`, `axisLeft`, and `axisBottom` for axes. The animation cycles through four measurement columns, updating the x-axis while keeping the y-axis fixed on sepal length. Data is fetched from a GitHub gist CSV, and points are colored by species (setosa, versicolor, virginica), with a legend and title rendered as SVG text elements.
AI-generated descriptionA demonstration of reusable scatter plot.