Activity6_Task3_Q2
This scatter plot analyzes automobile performance data from 1970 to 1974, visualizing the relationship between horsepower and fuel efficiency (MPG). Each point represents a vehicle model, with its position determined by horsepower (x-axis) and MPG (y-axis). The plot uses different shapes—circles, triangles, and squares—to distinguish the country of origin (American, European, Japanese), as encoded through a `d3.scaleOrdinal` shape scale. The visualization is built with d3.v7, using `d3.csv` to load the dataset, `d3.scaleLinear` for axes, and SVG paths for rendering. Interactive tooltips on mouseover display detailed specifications for each car, while a legend clarifies the shape-to-origin mapping.