Skip to main content
100%

Activity_7_1

✓ Published1🌍 Public
LLarry Johnson
Last edited Nov 7, 2024
Created on Nov 7, 2024

A customizable scatter plot visualizes the Iris dataset, cycling through four variable pairings on the x-axis every few seconds. The animation uses `setInterval` to update the x-scale and re-render the plot. It maps sepal and petal dimensions to coordinates, colored circles represent species, and a legend with labeled points is included. The code uses d3’s `csv`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` APIs, and renders as an animated SVG with custom styling from an external stylesheet.

AI-generated description

A demonstration of reusable scatter plot.

MIT Licensed

Similar vizzes