Skip to main content
100%

Activity 9&10

✓ Published0🌍 Public
SSumanthnaidu213
Last edited Apr 24, 2024
Created on Apr 24, 2024

This interactive scatter plot animates through different pairings of the Iris dataset’s four measurements, cycling the x-axis between petal width, sepal width, petal length, and sepal length while keeping sepal length on the y-axis. Each species appears as a distinct color—sky blue, light green, or orange—with an animated legend and title rendered inside the SVG. The visualization uses d3.csv to load the data, d3.scaleLinear for axes, and d3.axisLeft and d3.axisBottom for scales, with a reusable scatterPlot function driving the transitions via setInterval.

AI-generated description

A demonstration of reusable scatter plot.

MIT Licensed

Similar vizzes