Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Reusable Scatter Plot

Public visualization

Viewing a saved revision (read-only)

42e94ff9b58d478394bff6a2677c888f

Reusable Scatter Plot

0 stars0🌍 Public
RRupeshGandham
Last edited Jul 4, 2022
Created on Jul 4, 2022

This animated scatter plot visualizes the Iris flower dataset, cycling through four feature combinations on the x-axis while keeping sepal length on the y-axis. Data points are colored by species—orange for setosa, blue for versicolor, and black for virginica—with a dynamic legend that updates alongside axis labels. Built with D3 v6, it uses `scaleLinear`, `axisBottom`, and `axisLeft` within a reusable `scatterPlot` module, driven by `setInterval` to rotate the displayed attribute. The SVG rendering includes custom circle shapes with elliptical radii and a color-coded species legend.

AI-generated description