Skip to main content
100%

Scatter Plot with Menus

✓ Published1🌍 Public
Jjanneprice
Last edited May 24, 2022
Created on May 24, 2022

This interactive scatter plot visualizes the Iris dataset, allowing users to select which flower measurements appear on the x- and y-axes via two dropdown menus. The visualization uses React hooks (useState, useEffect) to manage state and data loading, while D3 v5 (scaleLinear, extent, max, csv) handles scales, axes, and CSV parsing. Rendered as an SVG, each data point appears as a circle with a tooltip showing its value. The menus update the axes and labels dynamically, using d3.format for tick labels and React components for modular rendering.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes