🌍 Public
Viewing a saved revision (read-only)
57baad9828504de5a7d0fa38ed8bc918
Scatter Plot
This scatter plot visualizes the Iris dataset, showing petal width against sepal length, with each species color-coded (setosa in gold, versicolor in teal, and virginica in red). The visualization cycles through four attribute combinations every two seconds, updating both the axes and circle positions. Built with D3 v6, it uses `d3.scaleLinear`, `d3.scaleOrdinal`, `d3.axisLeft`, and `d3.axisBottom` within a reusable `scatterPlot` function, rendering as SVG circles with HTML labels.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.