Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE-7 Reusable Scatter Plot

Public visualization

Viewing a saved revision (read-only)

444a895a13794409a9cf4647dae46860

Fork of ICE-7 Reusable Scatter Plot

0 stars0🌍 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