Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of iCE - 7 Reusable Scatter Plot

Public visualization

Viewing a saved revision (read-only)

9485085433a94861af7b51ab97ef68d2

Fork of Fork of iCE - 7 Reusable Scatter Plot

0 stars1🌍 Public
DDivyaVellanki
Last edited Mar 28, 2022
Created on Mar 28, 2022

This scatter plot animates through four Iris flower measurements (petal width, sepal width, petal length, and sepal length) every two seconds, swapping which variable appears on the x-axis while keeping sepal length on the y-axis. Each point is colored by species (blue, red, or yellow) with white outlines, rendered as SVG circles. The visualization uses D3 v6 APIs including `scaleLinear`, `extent`, `axisLeft`, `axisBottom`, and `selectAll(...).join(...)` within a reusable `scatterPlot` module. Data comes from a CSV of the classic Iris dataset, loaded via `d3.csv`.

AI-generated description