Skip to main content
100%

Fork of Activity

✓ Published0🌍 Public
SSreeKohaliPatel@my.unt.edu
Last edited Apr 25, 2024
Created on Apr 25, 2024
Forked from Activity 6

This visualization displays a subset of the Iris dataset in an animated scatter plot, cycling through different pairs of sepal and petal measurements over time. It uses d3-scaleLinear, d3-axisLeft, and d3-axisBottom from D3 v6 to map the data, rendering circles with custom colors for each species and a legend. The animation is driven by setInterval, updating the x-value accessor to rotate through four measurement columns, while labels and titles are appended to the SVG.

AI-generated description

A demonstration of reusable scatter plot.

MIT Licensed

Similar vizzes