Skip to main content
100%

Fork of Reusable Scatter plot Activity 8

✓ Published0🌍 Public
Bbudalavijay2001@gmail.com
Last edited Apr 16, 2024
Created on Apr 16, 2024

This interactive scatter plot animates through the Iris dataset, cycling the x-axis through petal width, sepal width, petal length, and sepal length at intervals. Points are color-coded by species (setosa, versicolor, virginica) using skyblue, lightgreen, and orange. Built with d3.v6, it uses the reusable `scatterPlot()` module with `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to render SVG circles and axes. Text labels for the legend, title, and axis names are appended dynamically, while a `setInterval` updates the chart in an animation.

AI-generated description

A demonstration of reusable scatter plot.

MIT Licensed

Similar vizzes