Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE-7 (Reusable D3 Scatter Plot)

Public visualization

Viewing a saved revision (read-only)

96b29353d6c34d3a8d1dcbd609eab139

ICE-7 (Reusable D3 Scatter Plot)

0 stars1🌍 Public
AAnjan Shrestha
Last edited Mar 28, 2022
Created on Mar 22, 2022

This example presents an animated scatter plot of the Iris dataset using a reusable D3 module. It shows how petal width and sepal length correlate across iris species, with points colored green, blue, or black by species. The visualization cycles through different measurement pairs on the x-axis every two seconds using `setInterval`. It leverages D3 v6 APIs including `scaleLinear`, `extent`, `axisLeft`, `axisBottom`, and `selectAll`, rendering as SVG circles with radii set by the `.radius()` method.

AI-generated description