Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot with Menus

Public visualization

Viewing a saved revision (read-only)

d0dadc3366aa4a39a0f405ac73e0d6a1

Scatter Plot with Menus

0 stars0🌍 Public
Wwangqin2215
Last edited May 23, 2019
Created on May 23, 2019

This interactive scatter plot uses D3.js to visualize the Auto MPG dataset from the UCI Machine Learning Repository, showing relationships between car attributes like horsepower, weight, and acceleration. Two dropdown menus allow users to select which columns map to the X and Y axes using the custom `dropdownMenu` function. The scatter plot renders as an SVG with animated transitions, using D3's `scaleLinear`, `axisLeft`, and `axisBottom` APIs to display axes and data points.

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.