Skip to main content
100%

Scatter Plot with Colors and Menus

✓ Published0🌍 Public
Jjbruzzo
Last edited Jul 2, 2022
Created on Jul 2, 2022

This interactive scatter plot visualizes the Iris dataset, allowing users to explore relationships between sepal and petal measurements. Two dropdown menus let viewers independently select which attribute appears on the x- and y-axes, while the chart updates dynamically using React state management. The visualization is built with D3 v7 for scales, axes, and SVG rendering, and React for component structure and user interaction. Data is loaded asynchronously via D3's `csv` utility, and tooltips display values on hover.

AI-generated description

A program that loads in some data using D3 utilities, and uses React state to keep track of the data.

Plotting the Iris dataset

MIT Licensed

Similar vizzes