Skip to main content
100%

Reusable D3 Scatter Plot ICE 7

✓ Published0🌍 Public
Ssushmithameher-patnam
Last edited Mar 13, 2023
Created on Mar 12, 2023

This interactive scatter plot visualizes the Iris dataset, with each point colored by species (setosa, versicolor, virginica). A timer cycles the x-axis through four flower measurements every four seconds, updating the layout smoothly. Built with D3 v6, the chart uses `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to map data to SVG circles. The reusable `scatterPlot` function accepts configurable accessors and margin settings, demonstrating a modular pattern for animated, dimension-switching visualizations.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes