Question: Take the assignment from week three, add at least twice as much data to the sets. Note how this impacted the results from the previous

Take the assignment from week three, add at least twice as much data to the sets. Note how this impacted the results from the previous week. Be sure to have a visualization to show the initial results and the new results. Be sure to explain why the results are different or similar from last week.
This is the data from my Old Assignment and the code in R. Can you please add at least twice as much data to the sets and modify the code for R and create the visualization to show the initial results and the new results.
1. Innovative Visualization:
# Doughnut Chart for Market Share
library(ggplot2)
# Sample Data
market_share_data <- data.frame(
Brand = c("Apple", "Samsung", "Google"),
Market_Share = c(20.1,19.4,12.5)
)
# Create Doughnut Chart
ggplot(market_share_data, aes(x ="", y = Market_Share, fill = Brand))+
geom_bar(width =1, stat = "identity")+
coord_polar("y", start =0)+
theme_void()+
labs(title = "Smartphone Market Share")
2. Useful Visualization:
# Grouped Bar Chart for Customer Satisfaction
library(ggplot2)
# Sample Data
satisfaction_data <- data.frame(
Brand = c("Apple", "Samsung", "Google"),
Customer_Satisfaction = c(8.1,8.0,7.1)
)
# Create Grouped Bar Chart
ggplot(satisfaction_data, aes(x = Brand, y = Customer_Satisfaction, fill = Brand))+
geom_bar(stat = "identity", position = "dodge")+
theme_minimal()+
labs(title = "Customer Satisfaction Ratings",
x = "Brand", y = "Customer Satisfaction")
3. Aesthetic Visualization:
# Combined Plot for Market Share and Customer Satisfaction
library(ggplot2)
# Sample Data
combined_data <- data.frame(
Brand = c("Apple", "Samsung", "Google"),
Market_Share = c(20.1,19.4,12.5),
Customer_Satisfaction = c(8.1,8.0,7.1)
)
# Create Combined Plot
p <- ggplot(combined_data, aes(x = Market_Share, y = Customer_Satisfaction, color = Brand))+
geom_point(size =4)+
geom_text(aes(label = Brand), vjust =-0.5)+
theme_minimal()+
labs(title = "Market Share vs. Customer Satisfaction",
x = "Market Share", y = "Customer Satisfaction")
UUuu

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!