Skip to main content
100%

Activity 6

✓ Published0🌍 Public
Aanjeevu@gmail.com
Last edited Jul 11, 2024
Created on Jul 11, 2024
Forked from Hello VizHub

This interactive scatter plot visualizes the Iris dataset, cycling through different x-axis variables every few seconds to show relationships between sepal and petal measurements. Each species—setosa, versicolor, and virginica—appears as a distinct color (skyblue, lightgreen, orange) with a legend and axis labels updated dynamically. Built with D3 v6, it uses `scaleLinear`, `extent`, `axisLeft`, `axisBottom`, and `setInterval` to re-render the SVG animation, with data loaded via the `csv` function from a GitHub-hosted CSV file.

AI-generated description

A demonstration of reusable scatter plot.

MIT Licensed

Similar vizzes