Challenges Set 4

Instructions

Use the starwars dataset from the dplyr package (loaded already with tidyverse) to complete the below challenges. I highly recommend all of you to first get to know the starwars dataset by trying the “Get to know your data” functions covered at the beginning of the Week 2 Starter file. Good luck and have fun in completing them:

Important

I had to manipulate the original starwars dataset because there were too many categories in some variables. I already run the code below because it is required for you to successfully complete the below challenges. Nonetheless, I wanted to make you aware of the changes made.

Caution

Please note that all the images below have a width optimized to the size of a laptop screen. If your chart looks just slightly different to the one below it could be because they have a different width. Your focus should be in correctly reverse engineering the aesthetics and the geoms. Feel free to open the chart images in a new window or to zoom on them if needed. Best of luck and enjoy these challenges!

Challenge 1:

Use the starwars dataset and leverage the dataviz skills learned so far to write the code needed to recreate the below chart:

Challenge 1 chart

Challenge 2:

Use the starwars dataset and leverage the dataviz skills learned so far to write the code needed to recreate the below chart:

Challenge 2 chart

Challenge 3:

Use the starwars dataset and leverage the dataviz skills learned so far to write the code needed to recreate the below chart:

Challenge 3 chart

Challenge 4:

Use the starwars dataset and leverage the dataviz skills learned so far to write the code needed to recreate the below chart:

Challenge 4 chart

Challenge 5:

Use the starwars dataset and leverage the dataviz skills learned so far to write the code needed to recreate the below chart:

Challenge 5 chart

Challenge 6:

Use the starwars dataset and leverage the dataviz skills learned so far to write the code needed to recreate the below chart:

Challenge 6 chart

🛑 Don’t Click Submit Just Yet 🚧

Please read carefully the below information:

  • Once you have completed all the coding challenges, and your confident in your work, copy and paste your responses from the chunk into the form fields below each challenge.

  • You are responsible for correctly coping and pasting only the required code to solve each challenge We will grade only what you have submitted!

  • We will only grade 1 submission per student so do not click Submit until you are confident in your responses.

  • By submitting this form you are certifying that you have followed the academic integrity guidelines available in the syllabus. The code and answers submitted are the results of your work and your work only!

  • Make sure you have completed all the challenges and included all the required personal information (e.g., full name, email, zid) in the respective form’s fields. If you don’t know/want to complete a challenge just leave the field below it empty.

  • Now you are ready to click the above “Submit” button. Congrats you have completed this set of challenges!!!