UM-R-for-EnvSci-Registered-Student-2021 / wk06-Tidytuesday-commentary

Repo for comentary on this week's twitter #TidyTuesday posts
0 stars 0 forks source link

wk06-Tidytuesday-commentary-hs #8

Open sotohaven opened 3 years ago

sotohaven commented 3 years ago

The figure from Icaro Bernardes caught my eye because he used the violin density plot that we had seen in lecture. I wanted to see if he used the correct code for changing the scale and he does (see coord_cartesian())! However, within his code, he also used coord_equal() in a figure and I'm not sure if this is also a way to "change" the scale. The only thing I would change in his figure is to add the y axis so it is easier to read what the weights of the fruit are.

A few other things from Bernardes' codes that we have seen: geom_violin() mutate() pivot_longer() group_by()

Some highlights of Bernardes' codes that we have not seen yet: font_add_google() annotate() insert_element()

This figure from Alyssa is cute because of the fun Halloween themed colours, but it's also a straightforward graph to read.

I also enjoyed this figure from Guillaume Abgrall. I'm interested to know how he was able to add the flags on the y-axis.

peperg commented 3 years ago

@sotohaven good catch on the coord_equal()! there are a few different coordinate systems other than the coord_cartesian() we have sene in class. coord_equal() is actually pretty similar, but it has some advantage sthat help keeping things scaled nicely and proportionally between the x and y axes.