Skip to main content
100%

Iris Scatterplot 07 - Dropdowns with different data type

✓ Published0🌍 Public
Gg1g10
Last edited Sep 1, 2022
Created on Aug 31, 2022

This interactive D3.js scatter plot visualization of the Iris dataset allows users to dynamically select which flower measurements (sepal length, sepal width, petal length, or petal width) to display on the x and y axes using dropdown menus. The visualization handles both numerical and categorical data types, rendering the three Iris species (Setosa, Versicolor, Virginica) as distinct symbols. Points are colored and positioned using D3's `scaleLinear` and `scalePoint` scales, with `transition` animations smoothly interpolating between states when users change axis selections via the `menu` component.

AI-generated description

A vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.

MIT Licensed

Similar vizzes