🌍 Public
Viewing a saved revision (read-only)
a0f8c40cf30143aa9b6f723e5ee4c904
Reusable Scatter plot Activity 8
This interactive scatter plot visualizes the Iris flower dataset, cycling through petal width, sepal width, petal length, and sepal length on the x-axis while keeping sepal length on the y-axis. Using d3.csv to load data and d3.scaleLinear with axisBottom and axisLeft for axes, the visualization updates every few seconds via setInterval, re-rendering circles with d3 transitions. Each species (setosa, versicolor, virginica) is color-coded with custom SVG circles, and a legend with colored point markers appears alongside rotating axis labels, all rendered as animated SVG in the browser.
AI-generated descriptionA demonstration of reusable scatter plot.