Skip to main content
100%

Scatter plot with menus

✓ Published0🌍 Public
KKurt J Nilsen
Last edited Aug 10, 2020
Created on Aug 4, 2020
Forked from Cars Scatter plot

This interactive scatter plot explores the relationship between any two numeric columns of the classic "auto-mpg" dataset. Users select which attribute appears on the x- and y-axes via two dropdown menus, and the points animate from the center to their new positions with a staggered delay. The visualization is built with D3 v5, using `select`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` for the axes and scales, plus a custom `transition().duration(500).delay()` for the animation.

AI-generated description
MIT Licensed

Similar vizzes