Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

KR_DV_ICE_7_1

Public visualization

KR_DV_ICE_7_1

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

Comments

Sign in to join the discussion.

MIT Licensed