🌍 Public
Scatter plot with menus
This interactive scatter plot visualizes the Iris dataset, allowing users to explore relationships between sepal and petal measurements through two dropdown menus that select which attributes appear on the x and y axes. The visualization uses D3’s `scaleLinear` and `extent` functions to map data to SVG coordinates, while React manages component state and re-rendering when menu selections change. The data is loaded asynchronously via D3’s `csv` method, and circles represent individual flowers with tooltips showing the x-axis value.
AI-generated descriptionScatter plot of iris dataset using d3 and keeps track using react
MIT Licensed
Comments
Sign in to join the discussion.