Image
Code

Interactive Scatter Plot with Color Legend & Changeable Axes using D3 and React

Phronesis

Last edited Nov 22, 2021
Created on Nov 22, 2021

A stylized scatter plot of the famous iris data set, using React to create menus and interactivity.

A more saturated color represented overlapping data points.

Selecting different options from the X and Y dropdown menus will change the axes on which the data is plotted, with labels to match.

Hovering over the species color legend will single out that species in the display.

MIT Licensed