Skip to main content
100%

Activity8_Task1

✓ Published0🌍 Public
HHarshithaAmbilpur
Last edited Jul 21, 2023
Created on Jul 10, 2023
Forked from Hello VizHub

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 description

Scatter Plot

MIT Licensed

Similar vizzes