Task_9_Tutorial_1
✓ Published0🌍 Public
This animated scatter plot visualizes the Iris dataset, cycling through four different feature combinations on the x-axis (petal width, sepal width, petal length, sepal length) while keeping sepal length on the y-axis. The three species are distinguished by color (skyblue, lightgreen, orange) and a legend. Built with D3.js (v6), the visualization uses an ES6 module pattern for a reusable `scatterPlot` function that employs `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` APIs. The animation uses `setInterval` to update the x-axis and redraw the plot, with SVG rendering and text labels for axes and title.
AI-generated descriptionDemonstration of reusable scatter plot.
MIT Licensed