Skip to main content
100%

Scatter Plot with Menus

✓ Published0🌍 Public
Nnreddystudent
Last edited Oct 7, 2020
Created on Oct 7, 2020

This interactive scatter plot visualizes the Auto MPG dataset from the UCI Machine Learning Repository, showing relationships between car attributes. Users select which columns map to the X and Y axes via dropdown menus built with a reusable `dropdownMenu` function. The visualization uses D3 v5 scales (`scaleLinear`), axes (`axisBottom`, `axisLeft`), and SVG transitions that animate circles into position over two seconds. Axis labels update dynamically, and the dataset includes numeric columns like mpg, cylinders, displacement, horsepower, weight, acceleration, and year.

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