Skip to main content
100%

Fork of Polished Scatter Plot with Menus

✓ Published0🌍 Public
Jjerryren527
Last edited Jun 11, 2023
Created on Jun 11, 2023

This interactive scatter plot visualizes the Iris dataset, letting users explore relationships between sepal and petal measurements through React dropdown menus that dynamically change the x- and y-axis variables. The visualization uses React with hooks (useState, useEffect) and D3 v5 scales (scaleLinear, extent) to map data points as SVG circles with tooltips. Axis components and marks are separate React components, while react-dropdown provides the attribute selection menus. The code loads data asynchronously via d3.csv from a GitHub gist.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes