Skip to main content
100%

Scatter Plot with Menus

✓ Published1🌍 Public
SSong Tao Chen
Last edited Jan 6, 2022
Created on Jan 5, 2022

This interactive scatter plot visualizes the Iris dataset, enabling exploration of relationships between sepal and petal measurements. Users can dynamically select which numerical attribute to display on each axis via dropdown menus, with the plot updating instantly. The visualization is built using React and D3 v7, rendering SVG circles and axes. The `scaleLinear`, `extent`, `csv`, and `format` D3 functions are used for data loading, scaling, and tick formatting, while React `useState` manages the selected attributes.

AI-generated description

7:39:25 continue

MIT Licensed

Similar vizzes