Skip to main content
100%

Scatter Plot with Menu - React

✓ Published1🌍 Public
Ssmile2git
Last edited Jun 4, 2021
Created on Jun 3, 2021

A scatter plot displays the Iris dataset, with dropdown menus allowing users to select which numerical attributes (sepal length/width or petal length/width) map to the x and y axes. The visualization uses React components with hooks to manage state, and D3.js scales (scaleLinear) and extent calculations to position SVG circles for each data point. Native SVG elements and user-defined axis components render the axes, while a third dropdown option for species exists in the data options. The chart updates interactively when selections change.

AI-generated description
MIT Licensed

Similar vizzes