🌍 Public
Activity9-T1
This animated scatter plot visualizes the Iris dataset, cycling through four combinations of petal and sepal measurements on the x-axis while keeping sepal length on the y-axis. Points are colored by species (setosa, versicolor, virginica) with a legend, and a title updates to reflect the current axis. Built with D3 version 6.7, the visualization uses `scaleLinear`, `axisLeft`, and `axisBottom` to create the axes, with a `setInterval` timer rotating the x-axis variable every few seconds. The SVG rendering includes labeled axes, a color legend, and custom-styled text.
AI-generated descriptionMIT Licensed
Comments
Sign in to join the discussion.