Skip to main content
100%

Fork of Reusable Scatter plot Activity 8

✓ Published0🌍 Public
UUthkarsh Reddy Junuthula
Last edited Apr 22, 2024
Created on Apr 22, 2024

This interactive scatterplot animates the Iris dataset, cycling through four flower measurements on the x-axis while plotting sepal length on the y-axis. Built with D3 v7, it uses `d3.scaleLinear`, `d3.extent`, and `d3.axisLeft` to render axes, and `setInterval` to update the chart every few seconds. Each circle’s fill color encodes species (setosa, versicolor, virginica), with a legend and axis labels included. Data is loaded via `d3.csv` from a remote gist.

AI-generated description

A demonstration of reusable scatter plot.

MIT Licensed

Similar vizzes