Skip to main content
100%

KR_DV_ICE_7_1

✓ Published0🌍 Public
KkarthikRachamalli1995
Last edited Mar 11, 2023
Created on Mar 10, 2023

This example displays the Iris dataset as an animated scatter plot that cycles through different x-axis variables every three seconds. The plot maps petal width to the y-axis while alternating between sepal width, petal length, and sepal length on the x-axis. Species are encoded using distinct SVG symbols—stars, crosses, and diamonds—generated with d3.symbol. The reusable chart function leverages d3.scaleLinear, axisLeft, and axisBottom for scales and axes, with setInterval driving the periodic updates.

AI-generated description

Reusable scatter plot.

MIT Licensed

Similar vizzes