Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot with Menus

Public visualization

Viewing a saved revision (read-only)

5821a8aaede843d48c08a225738fc164

Scatter Plot with Menus

0 stars0🌍 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.