🌍 Public
Viewing a saved revision (read-only)
0f23041cc3d34fd3bd5a05f1dd004e3f
Reusable _scatter_Plot
This animated scatter plot visualizes the Iris dataset, encoding petal and sepal measurements along the axes with each species represented by a distinct color. The visualization cycles through different x-axis variables every two seconds using `setInterval`, demonstrating the reusable nature of the chart component. Built with D3.js, the example uses `scaleLinear`, `scaleOrdinal`, `axisLeft`, and `axisBottom` to construct axes, while SVG circles represent data points with CSS styling from the Share Tech font. The code includes a legend and axis labels to support interpretation of the three iris species.
AI-generated descriptionA scatter plot of The Iris Dataset.