Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Scatter Plot with Menus

Public visualization

Viewing a saved revision (read-only)

55428b614b394054ba0e5a12f02879f0

Fork of Scatter Plot with Menus

0 stars0🌍 Public
SSam
Last edited Apr 30, 2021
Created on Apr 30, 2021

This interactive scatter plot, built with React and D3.js v5, visualizes the classic Iris Dataset, which contains measurements of sepal and petal dimensions for three iris species. Two dropdown menus allow users to independently select which quantitative attribute is mapped to the x-axis and y-axis, dynamically updating the linear scales and the displayed points. The visualization renders as an SVG, with each data point drawn as a circle. The code uses `d3.csv` to load the data and `d3.scaleLinear` to generate the axes, with React's `useState` managing the selected attributes.

AI-generated description

A scatter plot of The Iris Dataset.