Posts

Showing posts from March, 2024

Module 11 assignment

Image
The visual I created is a dot-dash plot of per capita budget expenditures in constant dollars from 1967 to 1977. The dots represent the data points, and the lines connect the dots. The horizontal dashed lines at 5% and 6% are added for reference. The text on the right side of the plot provides additional information about the data.

Module 10 Assignment

Image
Each of the provided reading resources was incredibly insightful into how ggplot2 is used as a whole with visualization. The visualization I have created uses the airquality dataset that is built into R studio.  library(ggplot2) head(airquality) airquality <- na.omit(airquality) ggplot(airquality, aes(x=Day, y=Ozone)) +   geom_line() +   labs(x="Day", y="Ozone Reading",        title="Time Series Plot of Ozone Readings") In this plot, the x-axis represents the day and the y-axis represents the Ozone readings. The line represents the trend of Ozone readings over time. Now, let’s discuss the importance of visualization in time series analysis: Trend Identification: Visualizations can help identify overall trends in the data. For example, in the plot above, you might be able to see if the Ozone readings are generally increasing, decreasing, or staying the same over time. Seasonality Detection: In some datasets, there might be patterns that repeat at reg...