Sai Nikitha ICE 7 Reusable Scatter Plot.
✓ Published0🌍 Public
This interactive scatter plot visualizes the Iris dataset, displaying measurements of sepal and petal dimensions with each species color-coded and shape-coded. Built as a reusable chart using D3 v6, it implements a custom `scatterPlot` factory function with configurable accessors and scales. The visualization cycles through different feature pairs on the x-axis every few seconds using `setInterval`, animating transitions between four variable combinations. SVG circles are appended with distinct colors per species, while the reusable chart structure leverages `scaleLinear`, `axisBottom`, `axisLeft`, and `scaleOrdinal` to render axes and categorical encoding.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed