Skip to main content
100%

Activity 8_Task_1

✓ Published0🌍 Public
Ssaipaidipalli
Last edited Jul 5, 2023
Created on Jul 5, 2023

This animated scatterplot cycles through four Iris flower measurements, using petal width on the x-axis and sepal length on the y-axis, with points colored by species. It is built with D3 and uses the `csv` loader to fetch the Iris dataset, then repeatedly updates the plot’s x-value via `setInterval`. Each frame, the axes and labels redraw, while a custom legend and title remain static. The code leverages D3’s `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` APIs to handle scaling and axis rendering.

AI-generated description

A demonstration of reusable scatter plot.

MIT Licensed

Similar vizzes