Cars Scatter Plot with Menu
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.