Posts

Showing posts from October, 2025

Module 9. Visual Multi Variances Analysis

Image
  For this visualization, I used the built-in mtcars dataset in R, which contains data on various car models including fuel efficiency, horsepower, weight, and engine characteristics. I chose this dataset because it’s small, clean, and ideal for exploring relationships among several continuous and categorical variables. I have also worked with it before. The scatter plot shows how miles per gallon (MPG) decreases as weight (wt) increases. The points are colored by the number of cylinders, sized by horsepower, and faceted by transmission type (automatic or manual). This multivariate approach reveals that cars with more cylinders and higher horsepower generally weigh more and have lower fuel efficiency, while manual cars tend to achieve slightly higher MPG overall.The  multivariate visualization  was effective because it allowed multiple comparisons in one clean view. I applied three design principles from this module: Alignment:  The axes, labels, and panels are ...

Module 8. Correlation Analysis and ggplot2

Image
  From the patterns that can be seen in the regression model above, there is a strong, negative relationship between horsepower and miles per gallon. So, cars with higher horsepower will have lower gas mileage. The regression line clearly slopes downward, showing a consistent trend across all data points that confirms the negative correlation between the two variables.  In terms of grid layout enhancing interpretation, while my visual focused on a single regression model, using a clean and evenly spaced layout supported readability and emphasis on the regression line. The structured design drew attention to the main pattern—how horsepower variable affected mpg—without unnecessary clutter or visual noise. In general, placing the scatter plots side by side in a grid layout makes it easier to compare how each factor can influence mpg. The consistent scales, neutral color palette, and aligned axes allow quick visual comparison without distraction.  In my opinion, Few’s r...

Module 7. Visualizations by mtcars

Image
Scatter Plot using mtcars: The dataset used was mtcars. The faceted scatter plot of miles per gallon versus horsepower, grouped by cylinder count, shows a clear negative relationship between horsepower and fuel efficiency—cars with higher horsepower tend to have lower miles per gallon. Each facet showed distinct clusters, with 4-cylinder cars being more fuel-efficient while 8-cylinder cars had high horsepower but poor mileage. The 6-cylinder cars lie in between the two, in terms of mpg and hp. These patterns highlight how engine size directly influences performance trade-offs. My design aligned with Few’s and Yau’s recommendations by using consistent axes across facets, minimal and distinctive colors used to distinguish cylinder categories, and clean gridlines for easy comparison. I avoided decorative elements and focused on clarity, so it would not be too busy allowing viewers to interpret patterns without distraction. This approach emphasized data comprehension over aes...

Module 6. basic data visualization using R

Image
I created a boxplot using the mtcars dataset to compare miles per gallon (MPG) among vehicles with different numbers of cylinders. A boxplot is useful for showing the distribution and variability of data across categories, highlighting the median, quartiles, and outliers. I chose this chart because it provides a clear summary of how fuel efficiency changes as engine size (cylinders) increases, without too much intricate detail. To add, the visualization did reveal clear differences between the groups. Cars with four cylinders had noticeably higher MPG values, showing that they are generally more fuel-efficient. In contrast, vehicles with six or eight cylinders had lower MPG values, suggesting that as engine size increases, fuel efficiency tends to decrease. This pattern shows a strong inverse relationship between the number of cylinders and miles per gallon. In terms of deviations in the data, the chart mostly confirmed the expected trend that larger engines consume more fuel. Howe...