Skip to main content
100%

Iris Scatter Plot

✓ Published1🌍 Public
Ssumanthsomu1
Last edited Mar 25, 2023
Created on Mar 24, 2023
Forked from Hello VizHub

This animated scatter plot explores the Iris dataset by cycling through different feature pairs on the x- and y-axes every three seconds, revealing relationships between sepal and petal measurements. Three Iris species—setosa, versicolor, and virginica—are distinguished by distinct geometric symbols (circle, cross, diamond) and colors. Built with D3.js v7, the SVG visualization uses `d3.scaleLinear`, `d3.axisBottom`, `d3.axisLeft`, and `d3.symbol` to render the points, axes, and a legend, updating the entire chart on each feature switch.

AI-generated description

Iris Scatter Plot

This project visualizes the famous [Iris dataset]) using a scatter plot created with D3.js. The scatter plot displays the relationships between different features of the Iris dataset, including sepal width, sepal length, petal width, and petal length. The three species of Iris flowers (setosa, versicolor, and virginica) are differentiated by different shapes in the plot.

Features

  • Scatter plot visualization of the Iris dataset
  • Different shapes to represent different Iris species
  • Automatic switching of x-axis and y-axis features every 3 seconds
  • Responsive and centered SVG element on the screen
  • Legend to identify the species and their corresponding shapes
MIT Licensed

Similar vizzes