VIS-2129-F2020 / svoorhees-vis

0 stars 0 forks source link

Assignment 2 Ready for Grading #2

Closed sage-grey-voorhees closed 4 years ago

sage-grey-voorhees commented 4 years ago

Thank you!

https://vis-2129-f2020.github.io/svoorhees-vis/REAL_Vis_Assignment2.html

bauranov commented 4 years ago

Despite the lack of polish, this is great work. Here are my comments:

Q1: When do I need to load a library, and when do I just need to load a package? A1: A collection of functions, such a ggplot2, is called a package. library is a function you use to load a package - library(ggplot2). In other coding languages, packages are usually called libraries, so some people use these terms interchangeably. You need to load a package every time (once per file) you want to use a function from a package. If you forgot to load it, you'll get an error.

Q2: Plots side by side. A2: In grid.arrange(aea_africa, nab_africa, nrow = 1), instead of nrow=1, use ncol=2.

Q3: Would appreciate a workshop or 101 on data cleaning. A3: https://vis-2129-f2020.github.io/tutorials/Data_cleaning

Q4: What would be your recommendation on how to not have the circle overwhelm South Africa? Q4: 1) Make it transparent, 2) change the number of cases of SA in your data and add a note in the map saying you changed it, 3) or set the sizes manually with scale_size_continuous(name="Name", range = var, labels...), where var contains case numbers for all countries, but changed for SA (essentially the same suggestion as the previous one, just instead of going back to your data set, you set it in ggplot).

Q5: Why is legend.position not working? Q5: It should be theme(legend.position="left")

Re questions about errors, please upload the csv file so I can recreate them.