🌍 Public
Viewing a saved revision (read-only)
e2203edf896b41dc8a7b91fa5f18e149
Activity8_Task1
An animated scatterplot displays the classic Iris flower dataset, where each point’s color encodes the species type. A setInterval loop cycles through different numeric feature pairs for the x-axis, while the y-axis remains fixed on sepal length, making the correlation patterns between features visually comparable. The implementation uses D3 v6 modules including `csv`, `scaleLinear`, `axisLeft`, `axisBottom`, and `selectAll` to render SVG circles, axes, and legend labels. The code also leverages ES6 module imports for modularity and demonstrates dynamic axis updates alongside static legend and title annotations.
AI-generated descriptionScatter Plot