Skip to main content
100%

Reusable _scatter_Plot

✓ Published3🌍 Public
AAmanullah007
Last edited Mar 27, 2022
Created on Mar 27, 2022

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 description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes