Skip to main content
100%

Fork of Reusable Scatter plot Activity 8.2

✓ Published1🌍 Public
Rrushithareddyy
Last edited Jul 14, 2023
Created on Jul 14, 2023

This visualization displays the Iris dataset in an animated scatter plot that cycles through different sepal and petal measurements on the x-axis. Species appear as colored circles—skyblue, lightgreen, and orange for setosa, versicolor, and virginica—with a static legend on the left. Built with D3 v6, it uses `scatterPlot()` to generate SVG axes and scales, while `setInterval` updates the x-axis data every few seconds. The code loads CSV data via `d3.csv`, parses numeric fields, and renders circles with explicit `cx`, `cy`, `rx`, and `ry` attributes.

AI-generated description

A demonstration of reusable scatter plot.

MIT Licensed

Similar vizzes