LIS 4317: Module # 11 Assignment
Module # 11 Assignment I created a marginal histogram scatter plot for this assignment using R and the ggplot2 program. ggplot2 and ggExtra were among the packages I first loaded and installed. Next, I generated statistics that showed annual budget expenditures per capita. The scatter plot was then created using ggplot2, maintaining a basic style, and adding a linear regression line for trend visualization. ggExtra's ggMarginal function was utilized to add marginal histograms to the plot. The histogram type of marginal plots was specified, and their presence was guaranteed on both axes. This procedure made it possible to create a thorough visualization that combined summaries of the marginal distribution with insights from scatter plots, enabling a deeper comprehension of the properties of the data.