Code for 2nd bar plot should be ggplot(article_sim, aes(x = usage)) not ggplot(article_sim, aes(x = type)).
Code for 2nd bar plot should be ggplot(article_sim, aes(x = usage)) not ggplot(article_sim, aes(x = type)).