🌍 Public
Viewing a saved revision (read-only)
109e242015de4076bb7fc3a1ac7ab4f0
Reusable Canvas
An interactive scatterplot displays the Iris dataset, plotting sepal and petal measurements against each other. Users can switch the x- and y-axis variables via dropdown menus created with a custom `menu` function. The visualization uses D3 v7 with `scaleLinear`, `axisLeft`, and `axisBottom` for scales and axes, while reusable modules like `canvasPlot` and `scatterPlot` structure the layout and rendering. SVG elements and transitions animate point movement when axes change, with tooltips showing details on hover.
AI-generated description