🌍 Public
Viewing a saved revision (read-only)
8998d2071774421e934656cb69d3d53c
Fork of Reusable D3 Scatter Plot
This visualization is an animated scatter plot of the Iris dataset, cycling through four different measurement pairs on the x-axis while the y-axis remains fixed to sepal length. It uses D3 v6 APIs including `csv`, `scaleLinear`, `axisLeft`, and `axisBottom`. The code renders circles and text via SVG and updates the plot every few seconds using `setInterval`. Colors map to iris species, and a custom legend with labeled circles is drawn outside the main plot, alongside axis titles that change depending on the current x-axis variable.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.