Skip to main content
100%

Animated Scatter Plot with Menu

✓ Published1🌍 Public
Ccssergio
Last edited Jun 21, 2022
Created on Jun 18, 2022

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 description

A reproduction of a title.

MIT Licensed

Similar vizzes