🌍 Public
Viewing a saved revision (read-only)
c0269e5b543943e79618f8c14c867a68
lewis_scatterplot
This animated scatter plot visualizes the Iris dataset, cycling through four attribute pairings every two seconds. It uses D3 v6 with a reusable `scatterPlot` module that scales linear axes and renders circles. The code explicitly draws colored circles with `d3.scaleOrdinal` for species, applies `setInterval` to update the x-value, and includes an SVG legend.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.