Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Scatter Plot with Menu

Public visualization

Viewing a saved revision (read-only)

e98273f3917149ff879bcb9554ade5be

Cars Scatter Plot with Menu

0 stars0🌍 Public
Wwishcsdev
Last edited Apr 9, 2019
Created on Apr 9, 2019

This scatter plot visualizes the Auto MPG dataset from the UCI Machine Learning Repository, displaying cars as circles colored by country of origin (USA, Japan, Germany) with hover tooltips showing car names. Users can compare any two numerical attributes (mpg, cylinders, displacement, horsepower, weight, acceleration) via two dropdown menus. Clicking the color legend filters the data by origin, changing circle opacity to highlight selected countries. The visualization uses D3 v5 with scales (scaleLinear, scaleOrdinal), axes (axisLeft, axisBottom), and custom reusable components for the dropdown menu and interactive legend, rendered as SVG.

AI-generated description

This scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.