๐ Public
Viewing a saved revision (read-only)
235663db366e40cf85d883fb858be5a8
Scatter plot with menus
A scatter plot displays the relationship between two numeric attributes from a dataset of 1970s cars, encoded as circles positioned by linear scales. Two dropdown menus let viewers switch which columns appear on the x- and y-axes, triggering a smooth animated transition of all points via `d3.transition`. The visualization uses D3 v5 APIs including `scaleLinear`, `axisBottom`, `axisLeft`, and `extent`, rendering as SVG with interactive menus built through a reusable `dropdownMenu` module.
AI-generated description