Skip to main content
100%

Fork of Reusable Scatter plot Activity 8

✓ Published1🌍 Public
Hharipadmavathim2023@gmail.com
Last edited Apr 20, 2024
Created on Apr 20, 2024

This interactive scatter plot explores the Iris dataset, cycling through four flower measurements as the x-axis while keeping sepal length on the y-axis. Animated via `setInterval`, the chart updates its axes and data points accordingly. Built with D3 v6, it uses `scaleLinear`, `axisLeft`, and `axisBottom` for scales and axes, with circles colored by species—skyblue, lightgreen, and orange for setosa, versicolor, and virginica. A legend and rotating axis labels clarify the current variable, and the SVG renders all marks.

AI-generated description

A demonstration of reusable scatter plot.

MIT Licensed

Similar vizzes