🌍 Public
Viewing a saved revision (read-only)
939d1d3eaab54fd5b0c2b26bec580980
Fork of Activity 7
This animated scatter plot visualizes the Iris dataset, cycling through four feature pairs on the x-axis while keeping petal width on the y-axis. It uses D3.js v6.7.0 to load CSV data via `d3.csv` and render SVG circles colored by species. The visualization employs `d3.scaleLinear` for axes, a `setInterval` callback to rotate through column selections, and custom legend labels. The code includes a `scatterPlot` factory function with configurable accessors and margin settings.
AI-generated descriptionA demonstration of scatter plot.