Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 8 Scatter plot

Public visualization

Activity 8 Scatter plot

0 stars0🌍 Public
Ssuryavamsi00024
Last edited Jul 5, 2023
Created on Jul 5, 2023

This interactive scatter plot animates through the four numeric dimensions of the Iris dataset, cycling which variable appears on the x-axis while sepal length remains on the y-axis. The visualization colors each of the three Iris species—setosa, versicolor, and virginica—with distinct hues and includes a static legend. Built with D3.js (v6.7.0), the example uses `scaleLinear`, `axisLeft`, `axisBottom`, and `csv` for data loading, while a `setInterval` timer triggers updates to the x-axis mapping. The SVG rendering displays circles with fixed radius, transitioning between attribute combinations every few seconds.

AI-generated description

A demonstration of reusable scatter plot.

Comments

Sign in to join the discussion.

MIT Licensed