Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity7.1_Tutorial

Public visualization

Viewing a saved revision (read-only)

7b91a5091ab940fd86f00cbcacc0caf2

Activity7.1_Tutorial

0 stars0🌍 Public
Vvidyagangasani@my.unt.edu
Last edited Apr 10, 2025
Created on Apr 10, 2025
Forked from Hello VizHub

This animated scatter plot explores the Iris dataset, cycling through four different feature combinations on the x-axis to reveal relationships between sepal and petal measurements. Built with D3.js (version 6.7), the visualization uses an SVG canvas and a reusable `scatterPlot` function that handles axis scaling and circle placement. The code applies color coding by species (skyblue, lightgreen, orange) and includes a legend, axis labels, and a title. A `setInterval` timer sequentially updates the x-axis mapping to petal_width, sepal_width, petal_length, or sepal_length, while the y-axis remains fixed on sepal_length, demonstrating dynamic data exploration.

AI-generated description