🌍 Public
Viewing a saved revision (read-only)
e23b82cd94ee4bc6b3e558efec8f6f7e
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.