4.12 Aesthetic Attributes: Color, Size, Shape (2)
- Figure 4.3 visualizes data of German politicians’ twitter followers and retweets (April 2020).
- Simple example of a color scale.28
# data_twitter_influence.csv data <- read_csv(sprintf("https://docs.google.com/uc?id=%s&export=download", "1dLSTUJ5KA-BmAdS-CHmmxzqDFm2xVfv6")) %>% filter(n_retweets < mean(n_retweets), # Whathappenshere? followers_count < mean(followers_count)) ggplot(data, aes(x = followers_count, y = n_retweets, colour = party)) + geom_point()
Data includes German MPs that have a Twitter account (not complete). The number of retweets refers to all retweets in March 2020. The number of followers was measured on 24th of April 2020.↩