Skip to main content
100%

Assignment-2

✓ Published1🌍 Public
Vvaishnavi6gan@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024

This interactive scatter plot animates through different pairings of Iris flower measurements, cycling the x-axis among petal width, sepal width, petal length, and sepal length while keeping sepal length on the y-axis. Points are colored by species—setosa, versicolor, and virginica—with a legend and fixed axes. Built with D3 v6, it uses `scaleLinear`, `axisLeft`, `axisBottom`, and `setInterval` to update the chart, loading data from a remote CSV. The SVG rendering includes custom text labels, a title, and a rotating axis label.

AI-generated description

A demonstration of reusable scatter plot.

MIT Licensed

Similar vizzes