Skip to main content
100%

Sai Nikitha ICE 7 Reusable Scatter Plot.

✓ Published0🌍 Public
NNikitha123171
Last edited Mar 25, 2023
Created on Mar 25, 2023

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 description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes