Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot with Menus

Public visualization

Scatter Plot with Menus

0 stars0🌍 Public
Jjons288
Last edited Oct 9, 2018
Created on Oct 9, 2018

This scatter plot visualizes car data from the UCI Machine Learning Repository’s Auto MPG dataset. Using dropdown menus, users select which columns map to the X and Y axes, with the chart updating dynamically. The D3 v5 code uses `scaleLinear`, `extent`, `axisLeft`, `axisBottom`, and a custom `dropdownMenu` component. SVG circles animate via `transition().duration(2000).delay()`, while axis labels and gridlines render from selected attributes like horsepower or weight.

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.

Comments

Sign in to join the discussion.

MIT Licensed