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)

e527815c32ec42cfa35139e87f4e0edd

Fork of Reusable Scatter plot Activity 8

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

This interactive scatter plot animates through the Iris dataset, cycling the x-axis through petal width, sepal width, petal length, and sepal length while keeping sepal length on the y-axis. Circles are colored by species using custom color mapping. Built with D3 v6, it uses `scaleLinear`, `axisLeft`, `axisBottom`, and `setInterval` to update the chart, with SVG rendering and legend labels added directly to the DOM.

AI-generated description

A demonstration of reusable scatter plot.