Week 3 Project Assignment
This lesson is called Week 3 Project Assignment, part of the R in 3 Months (Spring 2025) course. This lesson is called Week 3 Project Assignment, part of the R in 3 Months (Spring 2025) course.
Transcript
Click on the transcript to go to that point in the video. Please note that transcripts are auto generated and may contain minor inaccuracies.
Assignment example:
Your Turn
For this week, we want you to make some data viz with your data. We're not looking for something beautiful or perfect! We want to see you understand how to use ggplot2
and which parts of your dataset you're interested in visualizing. Here's an example of what we're looking for.
Here are the steps for this week's assignment:
Open your project from the Week 2 assignment.
Again, take some time to come up with three questions about your dataset. They don't need to be different from the questions you created last week, but they need to be possible to answer using data visualization.
Create a new section called “Data visualization” and add your three questions there, as comments.
Under each question, write the right code to produce the visualization intended.
Once you've completed your work, compress your
project_assignment
folder and upload it to the form below.If you have any specific questions, add those in the form below as well.
Have any questions? Put them below and we will help you out!
Course Content
127 Lessons
You need to be signed-in to comment on this post. Login.
Jonathan Brown • March 21, 2025
Hi, The example link above does not connect
Gracielle Higino Coach • March 21, 2025
Thank you for noticing, Jonathan! I fixed the link now.
Queeneth Onwuka • March 27, 2025
I observed that you didn't use "mapping". What is as.factor?
Gracielle Higino Coach • March 27, 2025
Hi Queeneth! The example assignment video is just for you to have an idea of how you would go by doing it. The code is never relevant, I often do things in different ways to simulate how a person learning R would do it [= In this case I don't use
mapping
because theggplot()
function recognizes the second argument as themapping
by default and we don't need to be explicit in this case. If you're just starting learning R, being explicit with the arguments is a good practice, though! Andas.factor()
is a Base R function to convert a variable into a factor.