Skip to main content
100%

Scatter Plot with Menus

✓ Published1🌍 Public
PPhilRG
Last edited May 17, 2020
Created on May 17, 2020

This scatter plot displays automobile data from the UCI Machine Learning Repository's Auto MPG dataset. Users can select which dataset columns to map to the X and Y axes using two dropdown menus. Built with D3 v5, the visualization uses `scaleLinear` for axes, `axisLeft`/`axisBottom` for ticks, and a custom `dropdownMenu` component. Circles are rendered as SVG elements. When axes change, the plot updates with a 2-second animated transition, where each circle moves to its new position with a staggered `transition.duration` and `delay`.

AI-generated description

This scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set. The user can select which columns map to X and Y using dropdown menus.

MIT Licensed

Similar vizzes