🌍 Public
Viewing a saved revision (read-only)
023a93049ca943a7b9da7dc7f7e0bd90
Fork of Reusable Scatter plot Activity 8
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 description