starting with an existing theme and changing some elements
Code/tools we haven't seen in class yet:
Animated plots
Plotting maps
annotate(geom = "richtext")
Making fancy tables
This table used library(gt) and library(gtExtras) (code)
Visualizations:
Plots I liked:
Plot from Jamie Hudson: This animated plot shows the average speed of all runners of this year's Ultra-Trail du Mont-Blanc overlayed on a topographic map with the route coloured by elevation.
I thought that this plot was unique and visually appealing!
Plot from Jake Scott: table showing nationality, number of first place finishes, race times over their career, and percent of races placing in certain ranks for six top runners
I haven't seen many formatted tables like this during TidyTuesday!
Has lots of information but is still easy to interpret (except the "times over career" line plot is a little confusing since it is just relative)
Plot from Benjamin Nowak: This plot shows a dot for each finisher of the Ultra-Trail du Mont-Blanc in separated by number of hours taken, and using colour to distinguish between men and women
Very easy to see the small number of women that participated in the race! (110 women to 1,414 men!)
Annotation includes good supporting information for the plot
Annotation was actually done using the plot subtitle, rather than annotate() which is kind of interesting! (code)
Plots that can be improved:
This plot showing the age of runners by gender and nationality using animated jitter plots with one frame for each country
The plot cycles through way too fast, it's difficult to really take in any of the distributions
Can be improved by slowing down the animation speed, and/or focusing on fewer countries
This plot jitter plot showing the distribution of Ultra Marathon finishing times by continent along with the median elevation gain for each.
This plot is very informative, but looks kind of messy and the colours don't go together well (for example, the overall median line is red, but the little circles with each continent's median are bright yellow)
Possible improvements:
I think this plot would look nicer using a geom_density_ridges() to show the distributions, since the jitter plots are pretty cramped
I would also use the same colour for the line and circles associated with medians to make the plot look a little more neat
Code/tools we have seen in class:
annotate
with various geoms (e.g., text,labs()
facet_wrap()
library(patchwork)
element_blank()
to remove elementsCode/tools we haven't seen in class yet:
annotate(geom = "richtext")
library(gt)
andlibrary(gtExtras)
(code)Visualizations:
Plots I liked:
annotate()
which is kind of interesting! (code)Plots that can be improved:
geom_density_ridges()
to show the distributions, since the jitter plots are pretty cramped