Skip to main content
100%

Polished Scatter Plot with Menus

✓ Published0🌍 Public
BBen Seebeck
Last edited Nov 8, 2021
Created on Nov 8, 2021

This interactive scatter plot visualizes the Iris Dataset, displaying measurements from four flower attributes. Users select which attributes appear on the X and Y axes through two dropdown menus, with axis labels and scales updating accordingly. The visualization is built with React and D3 v7, using `scaleLinear`, `extent`, `max`, and `format` functions to position marks and format tick labels. SVG circles represent individual iris samples, with native `<title>` tooltips revealing exact values on hover. The example demonstrates a polished, reusable component architecture with axes, marks, and dropdowns split into separate functional components.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes