Skip to main content
100%

Scatter Plot

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

This scatter plot visualizes the Iris dataset, showing petal width against sepal length, with each species color-coded (setosa in gold, versicolor in teal, and virginica in red). The visualization cycles through four attribute combinations every two seconds, updating both the axes and circle positions. Built with D3 v6, it uses `d3.scaleLinear`, `d3.scaleOrdinal`, `d3.axisLeft`, and `d3.axisBottom` within a reusable `scatterPlot` function, rendering as SVG circles with HTML labels.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes