Skip to main content
100%

Scatter Plot with Menus

✓ Published0🌍 Public
KKarthik Kunala Venu
Last edited Jun 7, 2019
Created on Jun 7, 2019

This interactive scatter plot explores the Auto MPG dataset from the UCI Machine Learning Repository, allowing users to select which variables appear on the X and Y axes via custom dropdown menus built with the `dropdownMenu` function. The main visualization uses d3’s `scaleLinear`, `axisBottom`, and `axisLeft` to render axes, while circles are animated into position using `transition().duration(2000)`. When the user changes a menu selection, the chart re-renders smoothly with updated scales and labels.

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