Reusable Scatter plot Activity 8
✓ Published0🌍 Public
This interactive scatter plot displays the Iris dataset, showing petal width on the x-axis and sepal length on the y-axis with data points colored by species. Built with D3.js (version 6.7.0) and ES6 modules, the visualization cycles through different feature pairings every few seconds using `setInterval`. The reusable scatter plot component, defined in `scatterPlot.js`, dynamically updates its scales and axes as the data columns change. The animation includes a custom legend and axis labels generated using D3's `axisLeft` and `axisBottom` APIs, rendered as an SVG with HTML styling.
AI-generated descriptionA demonstration of reusable scatter plot.
MIT Licensed