Question 3
✓ Published1🌍 Public
This scatter plot visualizes the relationship between fuel efficiency (mpg) and horsepower for 65 cars, with each dot colored by the vehicle's region of origin (USA, Japan, or Europe). The chart uses D3 v7 to render SVG circles positioned by linear scales on both axes, with a categorical color scale distinguishing origins and a legend explaining the color mapping. The visualization highlights the negative correlation between horsepower and fuel economy, while also revealing that Japanese and European cars tend to cluster toward higher mpg values with lower horsepower output.
AI-generated descriptionMIT Licensed