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)

a36cb6b4314a438388dc5da07f9101ef

Fork of Reusable Scatter plot Activity 8

0 stars0🌍 Public
BBhavanaGIrni
Last edited Jul 15, 2023
Created on Jul 15, 2023

This animated scatter plot visualizes the Iris dataset, cycling through four flower measurements on the x-axis while keeping petal width on the y-axis. Each species—setosa, versicolor, and virginica—is color-coded, with a legend and axis labels displayed. The visualization uses D3.js functions including `csv`, `scaleLinear`, `axisLeft`, and `axisBottom`, with circles positioned via `attr` and updated through `setInterval`. Built as an SVG with HTML/CSS, the code demonstrates a reusable scatter plot component.

AI-generated description

A demonstration of reusable scatter plot.