tutorial 7.1
✓ Published0🌍 Public
This interactive scatter plot animates through different x-axis attributes of the Iris dataset, cycling between petal width, sepal width, petal length, and sepal length. The plot uses D3.js version 6.7.0 to render SVG circles colored by species, with a legend and axis labels that update dynamically. The animation repeatedly re-renders the chart with a new x-axis variable, while the y-axis remains fixed on petal length, using a `setInterval` loop and a modular array index. The data is fetched from a GitHub-hosted CSV file.
AI-generated descriptionA bare minimum HTML page.
MIT Licensed