Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Reusable D3 Scatter Plot

Public visualization

Viewing a saved revision (read-only)

2ef8815cbeca49aa94f05492dfcefc21

Reusable D3 Scatter Plot

0 stars0🌍 Public
KKishen Patel
Last edited Mar 28, 2022
Created on Mar 28, 2022

This animated scatter plot visualizes the Iris dataset, cycling through different sepal and petal measurements on the x-axis while plotting sepal length on the y-axis. Points are color-coded by species, with a legend and axis labels updating dynamically. Built with D3 v6, it uses a reusable `scatterPlot` module with `scaleLinear` and SVG rendering. A `setInterval` timer triggers transitions between axes, showcasing the chart’s adaptability to different data dimensions.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.