Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Data Visualization

Public visualization

Data Visualization

0 stars2🌍 Public
MMireia Parra
Last edited Jan 3, 2024
Created on Jan 3, 2024

This scatter plot animates through four dimensions of the Iris dataset, cycling the x-axis between petal width, sepal width, petal length, and sepal length every two seconds. The visualization uses D3 v6 with a reusable `scatterPlot` function that leverages `scaleLinear`, `axisLeft`, and `axisBottom` for axes. Data is loaded via `csv` from a GitHub Gist and parsed into numeric values. The plot renders as SVG circles with a radius of five, and the animation is driven by `setInterval` updating the `xValue` accessor and re-calling the plot.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed