🌍 Public
Viewing a saved revision (read-only)
6dcb914f5f1d432489039cf80262d98a
Fork of Reusable Scatter plot Task9,10
This interactive scatter plot visualizes the Iris dataset, displaying petal and sepal measurements as colored circles representing different species. Using D3.js version 6, the visualization cycles through four different column combinations on the x-axis every few seconds via `setInterval`, while y-axis values remain fixed. The reusable `scatterPlot` module handles axis generation with `scaleLinear`, `axisLeft`, and `axisBottom`, while the main script adds circles, a color legend, and axis labels directly to the SVG. Styled with custom CSS and Google Fonts, the animation updates smoothly without transitions.
AI-generated descriptionA demonstration of reusable scatter plot.