Skip to main content
100%

Scatter Plot with Menus

✓ Published1🌍 Public
NNikhil Reddy Manda
Last edited May 15, 2021
Created on May 14, 2021

This interactive scatter plot visualizes the Iris flower dataset, allowing users to dynamically select which measurements (sepal length, sepal width, petal length, petal width, or species) appear on the x- and y-axes via two dropdown menus. The React application uses D3 v5 functions like `scaleLinear`, `extent`, and `csv` to fetch and scale the data, rendering SVG circles for each flower with hover tooltips. Axis components are built from D3 scales, and state management in React handles attribute changes, re-computing scales and re-rendering the marks accordingly.

AI-generated description

Scatter Plot with Menus

MIT Licensed

Similar vizzes