Skip to main content
100%

Iris Scatterplot With Menus

✓ Published1🌍 Public
JJames Rhodes
Last edited Apr 9, 2022
Created on Apr 7, 2022
Forked from Iris Scatterplot

This interactive scatterplot visualizes the Iris dataset, allowing users to explore relationships between sepal and petal measurements. Two dropdown menus let viewers select which attribute to plot on the x-axis and y-axis, with the chart dynamically updating the scales and axis labels. Built with React and D3 v7, the visualization uses `scaleLinear` for axes, `extent` for domain calculation, and SVG rendering for the scatterplot marks. Data is fetched from a GitHub gist using D3's `csv` loader, with axis components defined as reusable React functions.

AI-generated description

Scatterplot of the Iris dataset

data Iris Dataset

MIT Licensed

Similar vizzes