Reusable Scatter plot Activity 8
✓ Published0🌍 Public
This interactive scatter plot visualizes the Iris dataset, showing sepal and petal measurements as colored circles representing three flower species. The visualization cycles through different variable pairings on the axes using a timer, updating the chart every few seconds. Built with D3.js version 6, the code uses `csv()` to load data, `select()` and `join()` for SVG rendering, and `setInterval()` to trigger axis transitions. The reusable `scatterPlot()` function manages the chart layout, while custom legend markers and axis labels are appended dynamically.
AI-generated descriptionA demonstration of reusable scatter plot.
MIT Licensed