Visualizing Distribution in RStudio
For this weeks assignemnt, we were tasked with showing visual distribution using RStudio. I chose the built-in dataset mtcars, which contains many different attributes about 32 different cars. To show the distribution, I created a histogram using ggplot 2 to visualize the distribution of one of the most important things when searching for a new car, miles per gallon (mpg). Looking at the histogram, we can see that most vehicles fall between 15-25 mpg, with a few cars achieving above 30mpg. While designing this visualization, I followed Few's recommendations by just keeping the layout simple, using consistent coloring, and labeling the axis clearly. I do agree that sometimes distributions can be overcomplicated, which can cause them to be as clear to read. In my case, I try to make it as simple as possible while remaining visually engaging and appealing.