Skip to main content
100%

Reusable Canvas

✓ Published1🌍 Public
Sscheenmi@gmail.com
Last edited Dec 30, 2023
Created on Nov 13, 2022
Forked from Hello VizHub

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
MIT Licensed

Similar vizzes