Skip to main content
100%

Scatter Plot with Menus

✓ Published1🌍 Public
AAudrey
Last edited Jul 20, 2021
Created on Jul 20, 2021

This interactive scatter plot visualizes the Iris Dataset, allowing users to explore relationships between sepal and petal measurements. Two dropdown menus let viewers select which attribute is plotted on the x-axis and y-axis, with the chart updating dynamically to reflect their choices. Built with React and D3 v5, the visualization renders points as SVG circles, using D3’s scaleLinear and extent for axis scaling. The code employs reusable components for axes, marks, and dropdowns, with axis labels and tick formatting courtesy of D3’s format function.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes