Module 10 Assignment

 For Module 10, the class was instructed to create a plot using ggplot2. I created a scatter plot using Covid data. The code is below:

#install packages

install.packages("ggplot2")

library(ggplot2)


#create the dataset

read.csv("/Users/kelsey/Desktop/LIS 5318 Visual Analytics/LIS 5318 Module 10/LIS5318-Visual-Analysis-2024/synthetic_covid_impact_on_work.csv")

covid <- read.csv("/Users/kelsey/Desktop/LIS 5318 Visual Analytics/LIS 5318 Module 10/LIS5318-Visual-Analysis-2024/synthetic_covid_impact_on_work.csv")

View(covid)


#create dataframe

coviddata <- data.frame(covid)


#create the plot using ggplot2

covidplot <- ggplot(data = coviddata, aes(x=Hours_Worked_Per_Day, y=Meetings_Per_Day, color=Productivity_Change)) + geom_point()


help(geom_point)


print(covidplot)


The plot can be seen below:



This plot is not correlated.     

This reflects the erratic work patterns of covid data.

Employee outliers include a data point at 7 hours per day and nearly 10 hours per day. Employees productivity was impacted by covid and created erratic work patterns.

Comments

Popular posts from this blog

Module 2 - Geographic Visualizations in Tableau

Final Project

Module 7 - Distribution Analysis