Skip to main content
100%

Activity 8 Scatter plot

✓ Published0🌍 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.

MIT Licensed

Similar vizzes