Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Reusable Scatter plot Activity 8

Public visualization

Viewing a saved revision (read-only)

f9c3dff8ae1248f3af93de7e150949d8

Fork of Reusable Scatter plot Activity 8

0 stars0🌍 Public
Rrushithareddyy
Last edited Jul 14, 2023
Created on Jul 14, 2023

This visualization displays the Iris dataset as a scatter plot, with the x-axis cycling through petal width, sepal width, petal length, and sepal length over time, while the y-axis remains fixed on sepal length. Points are colored by species (setosa, versicolor, virginica) using a custom marker function. Built with d3.scaleLinear, d3.axisLeft, and d3.axisBottom, it animates via setInterval, updating axes and labels dynamically. The SVG render shows a legend, title, and axis labels, with data loaded from a remote CSV using d3.csv.

AI-generated description

A demonstration of reusable scatter plot.