Fork of Reusable Scatter plot Activity 8
✓ Published0🌍 Public
This interactive scatter plot visualizes the Iris dataset, showing the relationships between petal and sepal measurements across three flower species, with a cycling animation that switches which measurement pair is plotted on the axes. Built with the D3.js library (version 6.7.0), it uses the `csv` and `select` functions to load data from a remote CSV source and render SVG elements. The code defines a reusable `scatterPlot` component, uses `scaleLinear`, `axisLeft`, and `axisBottom` for axes, and employs a time-based loop to dynamically update the plotted columns.
AI-generated descriptionMIT Licensed