Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Polished Scatter Plot with Menus

Public visualization

Viewing a saved revision (read-only)

8616c6915c8d46d19f0f8f47683d4985

Polished Scatter Plot with Menus

0 stars1🌍 Public
Sstephanie0215
Last edited Sep 30, 2022
Created on Sep 30, 2022

This interactive scatter plot visualizes the Iris dataset, allowing users to explore relationships between sepal and petal measurements by selecting attributes for the x- and y-axes via dropdown menus. Built with React and D3 v7, it uses `scaleLinear` for axes, renders SVG circles through a `Marks` component, and loads data with the `csv` utility. Dropdown changes update React state, re-scaling and re-rendering the plot with dynamic axis labels.

AI-generated description

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