🌍 Public
Viewing a saved revision (read-only)
c1e79f3fb882410c8761015c4f4873f3
Fork of Reusable D3 Scatter Plot
This is a reusable scatter plot that visualizes the Iris Dataset, cycling through different feature combinations every two seconds. The chart maps petal width against sepal length initially, then rotates through other attributes using a `setInterval`. Built with D3 v6, it uses `scaleLinear`, `extent`, and `axisLeft`/`axisBottom` to render axes, with circles positioned via the modular `scatterPlot()` function. The SVG output animates smoothly, updating both data mappings and axis scales with each interval.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.