Reusable D3 Scatter Plot
✓ Published0🌍 Public
This example visualizes the classic Iris dataset in an animated scatter plot, encoding sepal and petal measurements across four dimensions while color-coding species. A reusable D3 module (`scatterPlot`) builds the plot using `scaleLinear`, `axisLeft`, and `axisBottom`, with circles that update every two seconds to cycle through measurement pairs. The SVG rendering includes a title, axis labels, and a color-coded legend for Iris species.
AI-generated descriptionMIT Licensed