🌍 Public
Viewing a saved revision (read-only)
dd3c02c37def4475beb9f6d71a174cea
Scatter Plot with Menus
This interactive scatter plot visualizes the Iris dataset, featuring dropdown menus that let viewers select which numerical attributes to display on the x and y axes. The visualization renders data points as SVG circles using React components, with axes generated from D3 scales (scaleLinear) and tick formatting via the format function. Users can compare any combination of sepal and petal measurements, with axis labels updating dynamically to reflect the current selection. The chart loads CSV data asynchronously using D3’s csv parser, and menu interactions update state through React’s useState hook.
AI-generated descriptionA scatter plot of The Iris Dataset.