Improved Scatterplot with Menus
✓ Published1🌍 Public
This interactive scatterplot displays the Iris flower dataset, loaded via D3’s `csv` from a GitHub Gist, with React dropdown menus that let the user change which numeric attributes are mapped to the X and Y axes. The SVG visualization uses D3 scales (`scaleLinear`, `scaleOrdinal`) for positioning and species-based coloring, while custom React components `AxisBottom`, `AxisLeft`, and `Marks` render tick marks, labels, and circles. The axis labels update dynamically based on the selected menu values, and hovering over a circle reveals a tooltip via an SVG `<title>` element.
AI-generated descriptionA scatterplot of the Iris Data Set loaded as a .csv from GitHub Gist
MIT Licensed