As a general rule, do not include view() in your code. Run it from the console or click on the tibble name in the "Environment" tab.
Should have used comments much more liberally throughout your code to make it easy for me and your future self to follow.
I'm glad you acknowledged Afreen as I recognized her style and layout in your code. I saw it in the work of others, too, but at least you gave credit. However, the code was very inefficient, although it got the job done.
For plot 4, use hjust = 1 in annotate() to get right aligned text. Also better to define southeast_red <-#C8102Eas a constant, then usefill = southeast_redwithggplot. Should have used a value larger thany = 228` so that the text is higher on the plot.
As a general rule, do not include
view()
in your code. Run it from the console or click on the tibble name in the "Environment" tab.Should have used comments much more liberally throughout your code to make it easy for me and your future self to follow.
I'm glad you acknowledged Afreen as I recognized her style and layout in your code. I saw it in the work of others, too, but at least you gave credit. However, the code was very inefficient, although it got the job done.
For plot 4, use
hjust = 1
inannotate()
to get right aligned text. Also better to definesoutheast_red <-
#C8102Eas a constant, then use
fill = southeast_redwith
ggplot. Should have used a value larger than
y = 228` so that the text is higher on the plot.