Animated Scatter Plot with Menu
✓ Published1🌍 Public
This interactive scatter plot displays the Iris dataset, letting users explore relationships between sepal and petal measurements. The visualization uses two dropdown menus to dynamically select which numeric columns appear on the x and y axes. Points are colored by species (setosa, versicolor, virginica) and animate smoothly to their new positions using d3’s `transition` API. The chart is built with SVG, leveraging d3’s `scaleLinear`, `scaleOrdinal`, `axisLeft`, and `axisBottom` for scales and axes. The code implements a reusable `scatterPlot` module and a custom `menu` component using d3’s `dispatch` for event handling.
AI-generated descriptionA reproduction of a title.
MIT Licensed