🌍 Public
Viewing a saved revision (read-only)
846eec5acf034e9d9b1287fc84a1a584
reusable scatter plot
A reusable scatter plot displays the classic Iris dataset, with points representing individual flowers. An animation cycles the x-axis through different measured attributes—petal width, sepal width, petal length, and sepal length—every two seconds, allowing viewers to compare correlations between features. The chart uses D3.js APIs including `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` within a custom `scatterPlot` function, which updates circles and axes via selection joins. Rendered as SVG, the visualization leverages data-driven transitions to dynamically explore multivariate relationships.
AI-generated description