Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Reusable D3 Scatter Plot

Public visualization

Viewing a saved revision (read-only)

9dd3f390cf5e4f89856c098abc7e5b7f

Fork of Reusable D3 Scatter Plot

0 stars0🌍 Public
JJetlinZ
Last edited Jun 8, 2022
Created on Jun 7, 2022

This is a reusable scatter plot that visualizes the Iris Dataset, cycling through different feature combinations every two seconds. The chart maps petal width against sepal length initially, then rotates through other attributes using a `setInterval`. Built with D3 v6, it uses `scaleLinear`, `extent`, and `axisLeft`/`axisBottom` to render axes, with circles positioned via the modular `scatterPlot()` function. The SVG output animates smoothly, updating both data mappings and axis scales with each interval.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.