Activity 8 Scatter plot
✓ Published0🌍 Public
This interactive scatter plot animates through the four numeric dimensions of the Iris dataset, cycling which variable appears on the x-axis while sepal length remains on the y-axis. The visualization colors each of the three Iris species—setosa, versicolor, and virginica—with distinct hues and includes a static legend. Built with D3.js (v6.7.0), the example uses `scaleLinear`, `axisLeft`, `axisBottom`, and `csv` for data loading, while a `setInterval` timer triggers updates to the x-axis mapping. The SVG rendering displays circles with fixed radius, transitioning between attribute combinations every few seconds.
AI-generated descriptionA demonstration of reusable scatter plot.
MIT Licensed