Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Polished Scatter Plot with Menus

Public visualization

Polished Scatter Plot with Menus

0 stars1🌍 Public
Jjbruzzo
Last edited Jul 2, 2022
Created on Jul 2, 2022

This interactive scatter plot displays the Iris dataset, allowing users to select which flower measurements appear on the x- and y-axes via dropdown menus. Built with React and D3 v7, the visualization uses `d3.csv` to load data, `scaleLinear` for axis scaling, and SVG rendering with custom React components for axes and marks. Tooltips reveal precise values on hover, while axis labels dynamically update based on menu selections.

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

Comments

Sign in to join the discussion.

MIT Licensed