🌍 Public
Viewing a saved revision (read-only)
1f0359ec3beb465393eb8c150cfcc6d5
Polished Scatter Plot with Menus
This interactive scatter plot visualizes the Iris Dataset, allowing users to explore relationships between sepal and petal measurements by selecting which attribute appears on each axis via dropdown menus. Built with React and D3 v5, the visualization renders SVG circles with tooltips and labeled axes. The code uses `d3.csv` for data loading, `scaleLinear` for scaling, and `extent` to compute domains. Axis components generate tick marks using `xScale.ticks()` and `yScale.ticks()`, with formatting applied through `d3.format` for the x-axis tick labels.
AI-generated descriptionA scatter plot of The Iris Dataset.