Chapter 8 Total Comments
The following plot shows the distribution of Total Comments for a Hidden Gem.
Minimum number of Total Comments is 0
Maximum number of Total Comments is 103
Median number of Total Comments is 10
95% Confidence Interval for a Hidden Gem Comments is between 12 and 15
8.1 Box Plot
%>%
kvcs filter(!is.na(TotalComments)) %>%
ggplot(aes(x = TotalComments, fill = fillColor2)) +
geom_boxplot() +
labs(x= ' [Total Votes]',y = ' [Count]', title = paste("Distribution of", ' Total Votes ')) +
theme_fivethirtyeight(base_size = 15) +
theme(legend.position = "none")
8.2 Density Plot
%>%
kvcs filter(!is.na(TotalComments)) %>%
ggplot(aes(x = TotalComments)) +
geom_density(fill = "orange", bw = 0.01) +
scale_x_log10() +
labs(x= ' [Log TotalComments]',y = ' [Count]', title = paste("Distribution of", ' Total Comments ')) +
guides(fill=guide_legend(title="Total Comments Distribution")) +
theme_fivethirtyeight(base_size = 15)