Skip to main content
100%

activity7

✓ Published1🌍 Public
Ssravani1969@gmail.com
Last edited Apr 6, 2025
Created on Apr 6, 2025
Forked from HTML Starter

This animated scatter plot visualizes the iris dataset, cycling through different flower measurements (petal width, sepal width, petal length, sepal length) on the x-axis while keeping sepal length on the y-axis. Colored circles represent species categories (setosa, versicolor, virginica) with a static legend. The visualization uses D3.js’s `scaleLinear`, `axisLeft`, and `axisBottom` APIs to construct a reusable scatter plot, with a `setInterval` driving the animation. Data is loaded from a remote CSV file, rendered as SVG, and styled with custom labels and a title.

AI-generated description
MIT Licensed

Similar vizzes