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)

e0bd3dd9a553419aa8d264dc10f986df

Fork of ICE-7 Reusable Scatter Plot

0 stars0🌍 Public
Ssumitradevipolina
Last edited Mar 29, 2022
Created on Feb 22, 2022

This animated scatter plot visualizes the Iris dataset, mapping petal length and sepal length on the x- and y-axes while coloring each circle by species (setosa, versicolor, virginica). Using D3 v6 APIs such as `scaleLinear`, `extent`, `axisLeft`, and `axisBottom`, it implements a reusable scatter plot function. Every two seconds, a `setInterval` cycles through different columns—petal_width, sepal_width, petal_length, sepal_length—switching the x-axis dimension and updating SVG circles via data joins.

AI-generated description