Judo’s Elite: Medal Achievements of the Top 10 Nations at the Summer Olympics Games, 1964 - 2016
Overview of Olympic medal counts by gender across decades, highlighting judo’s leading nations.
TidyTuesday
Data Visualization
R Programming
2024
Author
Steven Ponce
Published
August 7, 2024
Figure 1: This heatmap illustrates the medal achievements of the top 10 nations in Olympic judo competitions from 1962 to 2016. The x-axis represents Olympic years, while the y-axis lists countries. The heatmap is divided into two sections: one for men and another for women. The colors on the heatmap range from light teal to dark orange, representing the number of medals won, from zero to seven, respectively.
Steps to Create this Graphic
1. Load Packages & Setup
Code
```{r}#| label: loadpacman::p_load( tidyverse, # Easily Install and Load the 'Tidyverse' ggtext, # Improved Text Rendering Support for 'ggplot2' showtext, # Using Fonts More Easily in R Graphs janitor, # Simple Tools for Examining and Cleaning Dirty Data skimr, # Compact and Flexible Summaries of Data scales, # Scale Functions for Visualization lubridate, # Make Dealing with Dates a Little Easier MetBrewer # Color Palettes Inspired by Works at the Metropolitan Museum of Art ) ### |- figure size ----camcorder::gg_record(dir = here::here("temp_plots"),device ="png",width =8,height =10,units ="in",dpi =320)### |- resolution ----showtext_opts(dpi =320, regular.wt =300, bold.wt =800)```