Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 9&10

Public visualization

Viewing a saved revision (read-only)

4d4783173b3b4f0fb0a0b1ce4555b6d0

Activity 9&10

0 stars0🌍 Public
Ssumanthnaidu213@gmail.com
Last edited Apr 25, 2024
Created on Apr 25, 2024

This interactive scatter plot animates through the Iris dataset, cycling the x-axis among four measurements while fixing sepal length on the y-axis. Points are colored by species (setosa, versicolor, virginica) and rendered as ellipses whose rx/ry values encode sepal dimensions. Built with D3.js `scaleLinear`, `extent`, `axisLeft`, and `axisBottom`, the visualization uses animated SVG circle updates via `setInterval` and `selectAll`, with a legend and rotating axis labels. Data is loaded asynchronously from a CSV file hosted on GitHub.

AI-generated description

A demonstration of reusable scatter plot.