Skip to main content
100%

D3 Scatter Plot with Menu

✓ Published0🌍 Public
KKamalabot
Last edited Jul 9, 2022
Created on Jul 9, 2022

This interactive scatter plot visualizes the Iris Dataset, with each circle representing a flower specimen. A menu cycles through four measurement columns—petal width, sepal width, petal length, and sepal length—updating the x-axis mapping every 100 seconds. Built with D3 v6, it uses `scaleLinear`, `extent`, `axisLeft`, `axisBottom`, and a reusable chart pattern via `scatterPlot()`. The SVG renders with animated transitions, while `setInterval` drives the axis changes, and the `Share Tech` font styles the axes.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes