Skip to main content
100%

Fork of Reusable D3 Scatter Plot

✓ Published0🌍 Public
AAnanyaSamala
Last edited Jul 7, 2022
Created on Jul 7, 2022

This animated scatter plot visualizes the Iris dataset, cycling through four attribute pairings every two seconds to reveal different relationships between sepal and petal measurements. Built with D3 v6, it uses d3.scaleLinear for axes, d3.scaleOrdinal for species color coding, and d3.axisLeft/axisBottom for ticks. SVG circles are rendered with CSS transitions, while a legend identifies the three iris species. The implementation follows the reusable chart pattern, with the scatterPlot function accepting configurable accessors for x, y, and radius values.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes