🌍 Public
Viewing a saved revision (read-only)
5f2486d0989f4e079d63732978fec8e8
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.