Skip to main content
100%

Scatter Plot with Menus

✓ Published0🌍 Public
Wwinniepooh520
Last edited Oct 3, 2020
Created on Oct 3, 2020

This interactive scatter plot displays the Iris dataset, allowing users to explore relationships between sepal and petal measurements by selecting which attributes appear on the X and Y axes via dropdown menus. The visualization renders each flower as an SVG circle, with tooltips showing exact values on hover. Built with React for the interface and D3 v5 for scales, axes, and data loading through `d3.csv`, the chart updates scales and labels dynamically when menu selections change. The code uses `scaleLinear` with `extent` for domain calculation and custom React components for the axes and dropdowns.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes