Skip to main content
100%

Scatter Plot with Menus

✓ Published1🌍 Public
Nnpelliccia
Last edited Sep 14, 2021
Created on Sep 14, 2021

This interactive scatter plot of the iris dataset lets users explore relationships between four numeric attributes (sepal length/width, petal length/width) using two dropdown menus to select which attribute is plotted on each axis. The visualization uses React with D3 v5 for computing linear scales, rendering SVG axes and marks, and formatting axis tick labels. The scatter plot data loads from a remote CSV file via D3’s `csv` function. Changing a dropdown instantly re-scales the axes and updates the plotted points, with hover tooltips showing the x-axis value.

AI-generated description

A scatter plot of the iris dataset

MIT Licensed

Similar vizzes