Fork of Polished Scatter Plot with Menus
✓ Published0🌍 Public
This interactive scatter plot displays the Iris flower dataset, encoding each observation as a colored circle based on its species. Dropdown menus allow viewers to switch which flower measurements appear on the x- and y-axes. The React component uses `useState` to manage axis selections, while D3 v5 functions like `scaleLinear`, `scaleOrdinal`, and `extent` handle scaling and domains. Axes are drawn as SVG elements in separate `AxisBottom` and `AxisLeft` components, and `Marks` renders the circles with tooltips, all styled with a Poppins font.
AI-generated descriptionMIT Licensed