Here is my completed visualization analysis of the year 2015 using R and ggplot. I also experimented with the ggExtra package to see what additional information it would give.
The density plot on the right margin helps to point out that the most common 2.5AQI was between 10 and 100.
As you can see, there is a downward trend until September and then the AQI heads back up during the winter months. Many people here outside the city proper burn coal and I think that has something to do with it.
Here is the plot without the ggExtra. It’s the same information, just without the marginal plots. Which one do like better?
I’ll have a post on how we figured it out in a few days.
Also, as I get more experience with R and R Markdown, I find myself just working in R markdown files because it’s easier and saves me time. Sometimes I’ll have an R script open and copy and paste code into the Rmd file, but it seems using just the Rmd file is faster and more efficient.