Skip to main content
100%

Platoch Reusable D3 Scatter Plot

✓ Published0🌍 Public
PPlatoch
Last edited Mar 28, 2022
Created on Mar 27, 2022

This interactive scatter plot visualizes the Iris dataset, showing how different flower species cluster across multiple feature combinations. The visualization cycles through three different x-axis measurements—petal width, sepal width, and sepal length—against a fixed y-axis of petal length. Each data point is rendered as a circle colored by species (setosa, versicolor, or virginica), with a legend identifying the categories. The implementation uses D3 v6, including `scaleLinear`, `axisLeft`, `axisBottom`, and a custom reusable `scatterPlot` function that manages the SVG rendering and handles the animation via `setInterval`.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes