Multivariate Visualization Using mtcars

 For this assignment, I used the built-in mtcars dataset in R because it includes several numerical and categorical variables that describe car performance. I wanted to explore how a car’s weight, horsepower, and number of cylinders affect its fuel efficiency (miles per gallon). In my visualization, the x-axis represents weight, the y-axis represents miles per gallon, color encodes cylinders, point size shows horsepower, and shape indicates transmission type (automatic or manual).


 The plot reveals clear relationships: heavier cars tend to have lower fuel efficiency, and those with more cylinders and higher horsepower are the least efficient. Manual cars generally achieve slightly better mileage than automatics of similar weight. These overlapping patterns demonstrate how multivariate visualization can highlight trade-offs between multiple design factors that wouldn’t be visible in a single-variable plot.

When designing the graph, I applied three of Antony Hortin’s and Dr. Friedman’s five principles of design:

  • Alignment — consistent axes and centered legends help organize information and guide the eye.

  • Contrast — distinct color hues for each cylinder group make clusters easy to compare.

  • Balance — spacing of elements and legend placement create a stable, readable layout.

Overall, this visualization effectively communicates complex relationships while remaining visually clear, following Stephen Few’s advice to maintain visual correspondence and avoid unnecessary 3D or clutter.

 

Comments

Popular posts from this blog

Student Loan Program Trends in the United States (2007–2025)

My Geographic Map of Florida COVID-19 Cases by ZIP Code

Spotting Differences in R: Comparing Fuel Efficiency by Cylinder Count