Skip to main content
100%

Fork of ICE-7 Reusable Scatter Plot

✓ Published0🌍 Public
SSharmilaChowdhari
Last edited Mar 27, 2022
Created on Mar 26, 2022
Forked from Hello VizHub

This animated scatter plot visualizes the Iris dataset, showing the relationship between petal width and sepal length, with each point colored by species (setosa, versicolor, or virginica). It cycles through four attribute combinations every two seconds using `setInterval`, updating the x-axis scale via D3's `scaleLinear` and `axisBottom`. The visualization is built with a reusable `scatterPlot` function, leveraging D3 v6 modules like `csv`, `select`, and `extent`, rendered as SVG circles with custom fill colors and axis labels.

AI-generated description
MIT Licensed

Similar vizzes