Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Reusable D3 Scatter Plot ICE 7

Public visualization

Reusable D3 Scatter Plot ICE 7

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed