class: center, middle, inverse, title-slide # Improve your plots with
ggplot2
## ⚔
R-Ladies Barcelona Workshop ### Mireia Ramos-Rodríguez ### 2019-10-16 --- class: inverse, center, middle # What is `ggplot2` --- class: left, top ## Why `ggplot2`? **`ggplot2`** is a data visualization package for R developed by [Hadley Wickham](https://twitter.com/hadleywickham) that provides a structured approach to graphing. It is a part of the **`tidyverse`**, a collection of R packages that share an underlying design philosophy, grammar and data structures. -- .pull-left[ ### Pros + Standardized method for plotting. + Publication quality plots. + Allows creation of relatively complex plots with ease. + Dominant plotting package in R. <img src="https://media.giphy.com/media/nsMPhWK6bfxHq/giphy.gif" width="40%" style="display: block; margin: auto;" /> ] -- .pull-right[ ### Cons - Might be a little bit difficult to understand at the beginning. - Sometimes you might get lost between all the things you can change. <img src="https://media.giphy.com/media/2FazgxLhFpYv4t93G/giphy.gif" width="40%" style="display: block; margin: auto;" /> ] --- class: left, top ## Hands on!
### The dataset ```r # install.packages("devtools") # Install devtools # devtools::install_github("mireia-bioinfo/tvseries") # Install the package tvseries # df <- tvseries::tvseries_must_watch load("data/tvseries_must_watch.rda") df <- tvseries_must_watch df <- df[!is.na(df$average_rating),] # Remove rows with NA average rating ``` <div style="border: 1px solid #ddd; padding: 0px; overflow-y: scroll; height:300px; "><table class="table" style="font-size: 10px; margin-left: auto; margin-right: auto;"> <thead> <tr> <th style="text-align:left;position: sticky; top:0; background-color: #FFFFFF;"> tvseries_title </th> <th style="text-align:left;position: sticky; top:0; background-color: #FFFFFF;"> episode_title </th> <th style="text-align:right;position: sticky; top:0; background-color: #FFFFFF;"> season_number </th> <th style="text-align:right;position: sticky; top:0; background-color: #FFFFFF;"> episode_number </th> <th style="text-align:right;position: sticky; top:0; background-color: #FFFFFF;"> start_year </th> <th style="text-align:right;position: sticky; top:0; background-color: #FFFFFF;"> end_year </th> <th style="text-align:right;position: sticky; top:0; background-color: #FFFFFF;"> runtime_min </th> <th style="text-align:left;position: sticky; top:0; background-color: #FFFFFF;"> genres </th> <th style="text-align:right;position: sticky; top:0; background-color: #FFFFFF;"> average_rating </th> <th style="text-align:right;position: sticky; top:0; background-color: #FFFFFF;"> num_votes </th> </tr> </thead> <tbody> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> A Girl from Arizona, Part 2 </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 8.1 </td> <td style="text-align:right;"> 311 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Pilot </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 23 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.8 </td> <td style="text-align:right;"> 2938 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Vulture </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 2069 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Halloween </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 6 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.5 </td> <td style="text-align:right;"> 2297 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Tagger </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.6 </td> <td style="text-align:right;"> 2376 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> 48 Hours </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 7 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.1 </td> <td style="text-align:right;"> 2044 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Slump </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.6 </td> <td style="text-align:right;"> 2213 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Old School </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 8 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.8 </td> <td style="text-align:right;"> 1960 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> M.E. Time </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.8 </td> <td style="text-align:right;"> 2151 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Thanksgiving </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 10 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.3 </td> <td style="text-align:right;"> 1954 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Christmas </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 11 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 1854 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Sal's Pizza </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 9 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.7 </td> <td style="text-align:right;"> 1914 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Bet </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 13 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.8 </td> <td style="text-align:right;"> 2172 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Pontiac Bandit </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 12 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.1 </td> <td style="text-align:right;"> 1903 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Ebony Falcon </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 14 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.7 </td> <td style="text-align:right;"> 1783 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Operation: Broken Feather </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 15 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.3 </td> <td style="text-align:right;"> 1891 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Party </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 16 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.6 </td> <td style="text-align:right;"> 1978 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Full Boyle </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 17 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 1769 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Apartment </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 18 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.7 </td> <td style="text-align:right;"> 1714 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Tactical Village </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 19 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.5 </td> <td style="text-align:right;"> 1836 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Fancy Brudgom </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 20 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.7 </td> <td style="text-align:right;"> 1704 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Unsolvable </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 21 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 1726 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Undercover </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 1823 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Charges and Specs </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 22 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 9.0 </td> <td style="text-align:right;"> 2189 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter One </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 40 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 627 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Chocolate Milk </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.8 </td> <td style="text-align:right;"> 1710 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Halloween II </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.7 </td> <td style="text-align:right;"> 1959 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Mole </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 1691 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Four </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.3 </td> <td style="text-align:right;"> 389 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Two </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.1 </td> <td style="text-align:right;"> 465 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Three </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.1 </td> <td style="text-align:right;"> 412 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Five </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 7.9 </td> <td style="text-align:right;"> 355 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Jimmy Jab Games </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.3 </td> <td style="text-align:right;"> 1772 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Six </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 6 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.3 </td> <td style="text-align:right;"> 362 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Seven </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 7 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 332 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Jake and Sophia </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 6 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.3 </td> <td style="text-align:right;"> 1717 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Eight </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 8 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 319 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Nine </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 9 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.4 </td> <td style="text-align:right;"> 318 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Ten </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 10 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.4 </td> <td style="text-align:right;"> 306 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Lockdown </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 7 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.8 </td> <td style="text-align:right;"> 1628 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Eleven </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 11 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.1 </td> <td style="text-align:right;"> 283 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Sixteen </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 16 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 262 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Eighteen </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 18 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 254 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Twelve </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 12 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.9 </td> <td style="text-align:right;"> 332 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Seventeen </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 17 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 252 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Thirteen </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 13 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 278 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Fourteen </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 14 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.5 </td> <td style="text-align:right;"> 292 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Fifteen </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 15 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.1 </td> <td style="text-align:right;"> 266 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Twenty </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 20 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 43 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 245 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Nineteen </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 19 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 244 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Twenty-One </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 21 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 236 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Twenty-Two </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 22 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.9 </td> <td style="text-align:right;"> 325 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> USPIS </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 8 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 1623 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Road Trip </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 9 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.3 </td> <td style="text-align:right;"> 1669 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Pontiac Bandit Returns </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 10 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.3 </td> <td style="text-align:right;"> 1630 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Stakeout </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 11 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.9 </td> <td style="text-align:right;"> 1579 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Beach House </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 12 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.3 </td> <td style="text-align:right;"> 1658 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Wednesday Incident </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 16 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 1532 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Payback </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 13 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 1559 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Defense Rests </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 14 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.8 </td> <td style="text-align:right;"> 1531 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Twenty-Three </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 43 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.6 </td> <td style="text-align:right;"> 272 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Windbreaker City </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 15 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.3 </td> <td style="text-align:right;"> 1560 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> New Captain </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.3 </td> <td style="text-align:right;"> 1711 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Funeral </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.7 </td> <td style="text-align:right;"> 1506 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Boyle's Hunch </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.9 </td> <td style="text-align:right;"> 1474 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Oolong Slayer </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.5 </td> <td style="text-align:right;"> 1570 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Halloween III </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.9 </td> <td style="text-align:right;"> 1812 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Into the Woods </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 6 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.8 </td> <td style="text-align:right;"> 1425 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Mattress </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 7 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.8 </td> <td style="text-align:right;"> 1423 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Swedes </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 9 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.9 </td> <td style="text-align:right;"> 1474 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Yippie Kayak </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 10 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.8 </td> <td style="text-align:right;"> 1626 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Ava </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 8 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 1446 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Hostage Situation </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 11 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.8 </td> <td style="text-align:right;"> 1397 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> 9 Days </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 12 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 1469 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Cruise </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 13 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 1410 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Karen Peralta </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 14 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.7 </td> <td style="text-align:right;"> 1347 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The 9-8 </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 15 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.1 </td> <td style="text-align:right;"> 1358 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> House Mouses </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 16 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.8 </td> <td style="text-align:right;"> 1306 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Cheddar </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 18 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.8 </td> <td style="text-align:right;"> 1346 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Adrian Pimento </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 17 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.8 </td> <td style="text-align:right;"> 1335 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Terry Kitties </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 19 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.8 </td> <td style="text-align:right;"> 1281 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Paranoia </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 20 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 1308 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Bureau </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 22 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.7 </td> <td style="text-align:right;"> 1382 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Maximum Security </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 21 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.1 </td> <td style="text-align:right;"> 1295 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Boyle-Linetti Wedding </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 17 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 1581 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Sabotage </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 19 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.9 </td> <td style="text-align:right;"> 1516 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Captain Peralta </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 18 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.9 </td> <td style="text-align:right;"> 1524 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> AC/DC </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 20 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.8 </td> <td style="text-align:right;"> 1492 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Det. Dave Majors </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 21 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 1499 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Chopper </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 22 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.6 </td> <td style="text-align:right;"> 1571 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Johnny and Dora </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 23 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 9.1 </td> <td style="text-align:right;"> 2116 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> Josh Just Happens to Live Here! </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 40 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 7.8 </td> <td style="text-align:right;"> 565 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Twenty-Seven </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.3 </td> <td style="text-align:right;"> 245 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> Josh's Girlfriend Is Really Cool! </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 43 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 7.7 </td> <td style="text-align:right;"> 420 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> I Hope Josh Comes to My Party! </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 7.9 </td> <td style="text-align:right;"> 377 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Twenty-Four </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 43 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 243 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Twenty-Six </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 235 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Twenty-Five </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.1 </td> <td style="text-align:right;"> 233 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> My First Thanksgiving with Josh! </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 6 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.1 </td> <td style="text-align:right;"> 325 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> I'm Going on a Date with Josh's Friend! </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 364 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Twenty-Nine </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 7 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 7.8 </td> <td style="text-align:right;"> 203 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Twenty-Eight </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 6 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 223 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> Josh and I Are Good People! </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 41 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 7.9 </td> <td style="text-align:right;"> 328 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> I'm So Happy That Josh Is So Happy! </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 7 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 301 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> My Mom, Greg's Mom and Josh's Sweet Dance Moves! </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 8 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 302 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> I'm Going to the Beach with Josh and His Friends! </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 9 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.5 </td> <td style="text-align:right;"> 313 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> Paula Needs to Get Over Josh! </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 18 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 43 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.6 </td> <td style="text-align:right;"> 274 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Thirty </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 8 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 216 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Thirty-One </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 9 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 204 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> I'm Back at Camp with Josh! </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 10 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.1 </td> <td style="text-align:right;"> 284 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> That Text Was Not Meant for Josh! </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 11 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.9 </td> <td style="text-align:right;"> 375 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> Josh and I Work on a Case! </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 12 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.1 </td> <td style="text-align:right;"> 261 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> Josh and I Go to Los Angeles! </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 13 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.7 </td> <td style="text-align:right;"> 306 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> Josh Is Going to Hawaii! </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 14 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 262 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> Josh Has No Idea Where I Am! </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 15 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 40 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.7 </td> <td style="text-align:right;"> 300 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> Josh's Sister Is Getting Married! </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 16 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 43 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.3 </td> <td style="text-align:right;"> 255 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> Why Is Josh in a Bad Mood? </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 17 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 257 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Thirty-Three </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 11 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 202 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Thirty-Two </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 10 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 7.8 </td> <td style="text-align:right;"> 197 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Thirty-Four </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 12 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 41 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.3 </td> <td style="text-align:right;"> 203 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Thirty-Seven </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 15 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 41 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 7.7 </td> <td style="text-align:right;"> 189 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Thirty-Six </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 14 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.3 </td> <td style="text-align:right;"> 207 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Thirty-Five </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 13 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 7.9 </td> <td style="text-align:right;"> 196 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Thirty-Eight </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 16 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 181 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Thirty-Nine </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 17 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 41 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 195 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> Where Is Josh's Friend? </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 43 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 256 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Forty-Five </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 41 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.5 </td> <td style="text-align:right;"> 229 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Forty </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 18 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 7.9 </td> <td style="text-align:right;"> 186 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Greg and Larry </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 23 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 9.0 </td> <td style="text-align:right;"> 1600 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Forty-One </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 19 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 7.9 </td> <td style="text-align:right;"> 179 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Coral Palms, Part 1 </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 1490 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Forty-Three </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 21 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.1 </td> <td style="text-align:right;"> 188 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Forty-Four </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 22 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 43 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 9.1 </td> <td style="text-align:right;"> 358 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Forty-Two </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 20 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 179 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> All Signs Point to Josh... Or Is It Josh's Friend? </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 39 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.3 </td> <td style="text-align:right;"> 216 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> When Will Josh See How Cool I Am? </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 41 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.1 </td> <td style="text-align:right;"> 225 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> When Will Josh and His Friend Leave Me Alone? </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.7 </td> <td style="text-align:right;"> 254 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> Why Is Josh's Ex-Girlfriend Eating Carbs? </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.1 </td> <td style="text-align:right;"> 220 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> Who's the Cool Girl Josh Is Dating? </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 7 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 40 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.1 </td> <td style="text-align:right;"> 209 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> Who Needs Josh When You Have a Girl Group? </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 6 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 234 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> Who Is Josh's Soup Fairy? </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 8 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 7.9 </td> <td style="text-align:right;"> 207 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> When Do I Get to Spend Time with Josh? </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 9 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 40 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.1 </td> <td style="text-align:right;"> 210 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> Will Scarsdale Like Josh's Shayna Punim? </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 10 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 43 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.5 </td> <td style="text-align:right;"> 216 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> Josh Is the Man of My Dreams, Right? </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 11 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.7 </td> <td style="text-align:right;"> 285 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> Is Josh Free in Two Weeks? </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 12 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 43 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.1 </td> <td style="text-align:right;"> 213 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> Can Josh Take a Leap of Faith? </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 13 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.6 </td> <td style="text-align:right;"> 320 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> Pilot </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 8.1 </td> <td style="text-align:right;"> 2464 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> Flying </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 7.7 </td> <td style="text-align:right;"> 2171 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> Tahani Al-Jamil </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 2064 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> Jason Mendoza </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 1964 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> The Eternal Shriek </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 7 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 8.4 </td> <td style="text-align:right;"> 1862 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> Most Improved Player </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 8 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 8.6 </td> <td style="text-align:right;"> 1852 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> Michael's Gambit </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 13 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 25 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 9.5 </td> <td style="text-align:right;"> 3054 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> Category 55 Emergency Doomsday Crisis </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 8.1 </td> <td style="text-align:right;"> 1869 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> What We Owe to Each Other </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 6 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 8.1 </td> <td style="text-align:right;"> 1830 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> ...Someone Like Me as a Member </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 9 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 1710 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> Chidi's Choice </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 10 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 8.4 </td> <td style="text-align:right;"> 1711 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> What's My Motivation </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 11 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 1645 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> Mindy St. Claire </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 12 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 20 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 8.5 </td> <td style="text-align:right;"> 1789 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Forty-Seven </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 7.9 </td> <td style="text-align:right;"> 185 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Coral Palms, Part 2 </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 1378 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Skyfire Cycle </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 8 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.8 </td> <td style="text-align:right;"> 1250 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Night Shift </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.6 </td> <td style="text-align:right;"> 1342 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Forty-Eight </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 172 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Coral Palms, Part 3 </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.3 </td> <td style="text-align:right;"> 1362 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Halloween IV </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.7 </td> <td style="text-align:right;"> 1522 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Forty-Six </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.1 </td> <td style="text-align:right;"> 169 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Forty-Nine </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 165 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Fifty-One </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 7 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.3 </td> <td style="text-align:right;"> 172 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Fifty </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 6 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 7.9 </td> <td style="text-align:right;"> 156 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Monster in the Closet </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 6 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.9 </td> <td style="text-align:right;"> 1254 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Audit </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 13 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.8 </td> <td style="text-align:right;"> 1184 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Mr. Santiago </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 7 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 1317 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Fugitive, Part 1 </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 11 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 60 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.5 </td> <td style="text-align:right;"> 1321 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Fifty-Two </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 8 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 154 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Fifty-Three </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 9 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 151 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Fifty-Four </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 10 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 41 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.5 </td> <td style="text-align:right;"> 307 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Overmining </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 9 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 1219 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Captain Latvia </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 10 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.6 </td> <td style="text-align:right;"> 1235 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Fifty-Five </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 11 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 175 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Serve & Protect </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 14 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.9 </td> <td style="text-align:right;"> 1186 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Sixty-Five </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 7.8 </td> <td style="text-align:right;"> 196 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> Josh's Ex-Girlfriend Wants Revenge. </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.3 </td> <td style="text-align:right;"> 246 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Cop-Con </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 17 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.3 </td> <td style="text-align:right;"> 1173 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Last Ride </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 15 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.3 </td> <td style="text-align:right;"> 1221 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Fifty-Six </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 12 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 151 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Fifty-Seven </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 13 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 147 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> Everything Is Great! </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 43 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 8.6 </td> <td style="text-align:right;"> 1810 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Fifty-Eight </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 14 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 7.8 </td> <td style="text-align:right;"> 148 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Fifty-Nine </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 15 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 7.9 </td> <td style="text-align:right;"> 143 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Sixty </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 16 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 41 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 7.8 </td> <td style="text-align:right;"> 144 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> To Josh, With Love. </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.7 </td> <td style="text-align:right;"> 254 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> Josh Is a Liar. </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 40 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.3 </td> <td style="text-align:right;"> 206 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> Josh's Ex-Girlfriend Is Crazy. </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.5 </td> <td style="text-align:right;"> 339 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> I Never Want to See Josh Again. </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.8 </td> <td style="text-align:right;"> 298 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> Josh Is Irrelevant. </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 6 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.7 </td> <td style="text-align:right;"> 277 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> Getting Over Jeff. </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 7 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 7.8 </td> <td style="text-align:right;"> 205 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> Nathaniel Needs My Help! </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 8 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 7.5 </td> <td style="text-align:right;"> 188 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> Nathaniel Gets the Message! </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 9 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 183 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> Oh Nathaniel, It's On! </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 10 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 7.8 </td> <td style="text-align:right;"> 164 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> Nathaniel and I Are Just Friends! </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 11 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 189 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> Trent?! </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 12 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 179 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> Nathaniel is Irrelevant. </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 13 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.3 </td> <td style="text-align:right;"> 186 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Sixty-One </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 17 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.1 </td> <td style="text-align:right;"> 150 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Sixty-Two </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 18 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 7.9 </td> <td style="text-align:right;"> 140 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Moo Moo </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 16 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.8 </td> <td style="text-align:right;"> 2379 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Chasing Amy </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 18 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 1156 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Your Honor </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 19 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 1110 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Slaughterhouse </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 20 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.1 </td> <td style="text-align:right;"> 1108 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Bank Job </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 21 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.5 </td> <td style="text-align:right;"> 1158 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Crime & Punishment </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 22 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.6 </td> <td style="text-align:right;"> 1255 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Sixty-Three </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 19 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 41 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 146 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Sixty-Four </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 20 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.4 </td> <td style="text-align:right;"> 166 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Sixty-Six </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 7.9 </td> <td style="text-align:right;"> 160 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Sixty-Seven </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 7.9 </td> <td style="text-align:right;"> 158 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Sixty-Eight </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 7.6 </td> <td style="text-align:right;"> 151 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Sixty-Nine </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 157 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Seventy </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 6 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.1 </td> <td style="text-align:right;"> 160 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Seventy-One </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 7 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 185 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Seventy-Two </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 8 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.1 </td> <td style="text-align:right;"> 168 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Seventy-Three </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 9 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 7.7 </td> <td style="text-align:right;"> 153 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Seventy-Four </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 10 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.4 </td> <td style="text-align:right;"> 165 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Seventy-Five </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 11 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 7.8 </td> <td style="text-align:right;"> 149 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Seventy-Six </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 12 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 146 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Seventy-Seven </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 13 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 158 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Fugitive, Part 2 </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 12 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 60 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.5 </td> <td style="text-align:right;"> 1067 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Big House Pt. 1 </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.5 </td> <td style="text-align:right;"> 1427 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> Existential Crisis </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 1530 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> Dance Dance Resolution </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 8.7 </td> <td style="text-align:right;"> 1728 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> The Trolley Problem </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 8.7 </td> <td style="text-align:right;"> 1676 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> Leap to Faith </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 8 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 8.5 </td> <td style="text-align:right;"> 1494 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> Best Self </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 9 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 8.5 </td> <td style="text-align:right;"> 1486 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> Team Cockroach </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 8.1 </td> <td style="text-align:right;"> 1540 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> Janet and Michael </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 6 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 8.3 </td> <td style="text-align:right;"> 1513 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> Derek </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 7 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 1473 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> Rhonda, Diana, Jake, and Trent </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 10 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 9.0 </td> <td style="text-align:right;"> 1728 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> The Burrito </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 11 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 9.0 </td> <td style="text-align:right;"> 1629 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> Somewhere Else </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 12 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 9.0 </td> <td style="text-align:right;"> 1809 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Big House Pt. 2 </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.3 </td> <td style="text-align:right;"> 1270 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Kicks </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 1168 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> HalloVeen </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 9.5 </td> <td style="text-align:right;"> 2565 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Seventy-Nine </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 15 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 7.7 </td> <td style="text-align:right;"> 147 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Seventy-Eight </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 14 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.4 </td> <td style="text-align:right;"> 164 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Eighty-One </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 17 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 9.2 </td> <td style="text-align:right;"> 403 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Eighty </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 16 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 156 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Bad Beat </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 1131 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Venue </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 6 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.9 </td> <td style="text-align:right;"> 1107 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Return to Skyfire </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 8 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.6 </td> <td style="text-align:right;"> 1083 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> 99 </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 9 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.8 </td> <td style="text-align:right;"> 1410 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Game Night </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 10 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.6 </td> <td style="text-align:right;"> 1438 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Two Turkeys </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 7 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.1 </td> <td style="text-align:right;"> 1122 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> Everything Is Bonzer! </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 43 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 8.3 </td> <td style="text-align:right;"> 1370 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Favor </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 11 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.1 </td> <td style="text-align:right;"> 1088 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Negotiation </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 13 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.3 </td> <td style="text-align:right;"> 1171 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Safe House </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 12 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.7 </td> <td style="text-align:right;"> 1260 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Puzzle Master </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 15 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.8 </td> <td style="text-align:right;"> 1053 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> NutriBoom </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 16 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.9 </td> <td style="text-align:right;"> 1060 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> Pandemonium </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 12 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 8.6 </td> <td style="text-align:right;"> 1110 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Gray Star Mutual </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 18 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 1017 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Bachelor/ette Party </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 19 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.5 </td> <td style="text-align:right;"> 1080 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Show Me Going </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 20 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.4 </td> <td style="text-align:right;"> 1173 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Box </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 14 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 9.5 </td> <td style="text-align:right;"> 2873 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> DFW </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 17 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.9 </td> <td style="text-align:right;"> 1119 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> White Whale </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 21 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.1 </td> <td style="text-align:right;"> 1002 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Jake & Amy </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 22 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 9.2 </td> <td style="text-align:right;"> 1717 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> I Want to Be Here </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 7.8 </td> <td style="text-align:right;"> 167 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Eighty-Two </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 43 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.8 </td> <td style="text-align:right;"> 254 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Honeymoon </td> <td style="text-align:right;"> 6 </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.6 </td> <td style="text-align:right;"> 1521 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Hitchcock & Scully </td> <td style="text-align:right;"> 6 </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.8 </td> <td style="text-align:right;"> 1481 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Tattler </td> <td style="text-align:right;"> 6 </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.9 </td> <td style="text-align:right;"> 1084 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Four Movements </td> <td style="text-align:right;"> 6 </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.5 </td> <td style="text-align:right;"> 1139 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> A Tale of Two Bandits </td> <td style="text-align:right;"> 6 </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.3 </td> <td style="text-align:right;"> 1075 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Crime Scene </td> <td style="text-align:right;"> 6 </td> <td style="text-align:right;"> 6 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.6 </td> <td style="text-align:right;"> 1114 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Honeypot </td> <td style="text-align:right;"> 6 </td> <td style="text-align:right;"> 7 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.6 </td> <td style="text-align:right;"> 1082 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Gintars </td> <td style="text-align:right;"> 6 </td> <td style="text-align:right;"> 10 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.7 </td> <td style="text-align:right;"> 834 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Golden Child </td> <td style="text-align:right;"> 6 </td> <td style="text-align:right;"> 9 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.4 </td> <td style="text-align:right;"> 963 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> He Said, She Said </td> <td style="text-align:right;"> 6 </td> <td style="text-align:right;"> 8 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.3 </td> <td style="text-align:right;"> 1826 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Therapist </td> <td style="text-align:right;"> 6 </td> <td style="text-align:right;"> 11 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.3 </td> <td style="text-align:right;"> 895 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Casecation </td> <td style="text-align:right;"> 6 </td> <td style="text-align:right;"> 12 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 7.9 </td> <td style="text-align:right;"> 923 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> The Bimbo </td> <td style="text-align:right;"> 6 </td> <td style="text-align:right;"> 13 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 823 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter One-Hundred </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 19 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 43 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 9.2 </td> <td style="text-align:right;"> 261 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> The Worst Possible Use of Free Will </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 7 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 1028 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> I Am Ashamed </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 7.7 </td> <td style="text-align:right;"> 161 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> I'm on My Own Path </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 41 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 149 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> I'm Making Up for Lost Time </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 43 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 7.8 </td> <td style="text-align:right;"> 142 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> I'm So Happy for You </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.1 </td> <td style="text-align:right;"> 141 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> I See You </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 6 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.0 </td> <td style="text-align:right;"> 130 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> I Will Help You </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 7 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 7.9 </td> <td style="text-align:right;"> 116 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> I'm Not the Person I Used to Be </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 8 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 43 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.7 </td> <td style="text-align:right;"> 181 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> I Can Work with You </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 10 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 41 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.1 </td> <td style="text-align:right;"> 117 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> I Need Some Balance </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 9 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 41 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.1 </td> <td style="text-align:right;"> 141 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> I'm Almost Over You </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 11 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 41 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.9 </td> <td style="text-align:right;"> 189 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> I Need a Break </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 12 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 40 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.4 </td> <td style="text-align:right;"> 132 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> I Have to Get Out </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 13 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 41 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 129 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> The Ballad of Donkey Doug </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 7.5 </td> <td style="text-align:right;"> 1114 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> A Fractured Inheritance </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 6 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 7.8 </td> <td style="text-align:right;"> 1085 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> Janet(s) </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 9 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 9.2 </td> <td style="text-align:right;"> 1591 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> The Brainy Bunch </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 7.8 </td> <td style="text-align:right;"> 1179 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> The Snowplow </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 7.7 </td> <td style="text-align:right;"> 1151 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> Jeremy Bearimy </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 8.4 </td> <td style="text-align:right;"> 1225 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> Don't Let the Good Life Pass You By </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 8 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 8.3 </td> <td style="text-align:right;"> 1037 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> Chidi Sees the Time-Knife </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 11 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 8.3 </td> <td style="text-align:right;"> 932 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> The Book of Dougs </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 10 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 22 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 8.1 </td> <td style="text-align:right;"> 944 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> Yes, It's Really Us Singing: The Crazy Ex-Girlfriend Concert Special! </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 18 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 9.5 </td> <td style="text-align:right;"> 179 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> I'm Finding My Bliss </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 14 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 7.9 </td> <td style="text-align:right;"> 124 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> I Need to Find My Frenemy </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 15 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 41 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 8.3 </td> <td style="text-align:right;"> 116 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> I Have a Date Tonight </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 16 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 41 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 9.0 </td> <td style="text-align:right;"> 149 </td> </tr> <tr> <td style="text-align:left;"> Crazy Ex-Girlfriend </td> <td style="text-align:left;"> I'm in Love </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 17 </td> <td style="text-align:right;"> 2015 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 41 </td> <td style="text-align:left;"> Comedy,Musical,Short </td> <td style="text-align:right;"> 9.1 </td> <td style="text-align:right;"> 210 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Eighty-Three </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 2 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 161 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Eighty-Four </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 3 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.7 </td> <td style="text-align:right;"> 187 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Eighty-Five </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 143 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Eighty-Six </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 7.6 </td> <td style="text-align:right;"> 138 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Return of the King </td> <td style="text-align:right;"> 6 </td> <td style="text-align:right;"> 15 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 6.6 </td> <td style="text-align:right;"> 1015 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Ticking Clocks </td> <td style="text-align:right;"> 6 </td> <td style="text-align:right;"> 14 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 20 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.5 </td> <td style="text-align:right;"> 874 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Cinco de Mayo </td> <td style="text-align:right;"> 6 </td> <td style="text-align:right;"> 16 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 9.2 </td> <td style="text-align:right;"> 1230 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Sicko </td> <td style="text-align:right;"> 6 </td> <td style="text-align:right;"> 17 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 8.6 </td> <td style="text-align:right;"> 771 </td> </tr> <tr> <td style="text-align:left;"> Brooklyn Nine-Nine </td> <td style="text-align:left;"> Suicide Squad </td> <td style="text-align:right;"> 6 </td> <td style="text-align:right;"> 18 </td> <td style="text-align:right;"> 2013 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 21 </td> <td style="text-align:left;"> Comedy,Crime </td> <td style="text-align:right;"> 9.1 </td> <td style="text-align:right;"> 1003 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Eighty-Seven </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 6 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 41 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 7.8 </td> <td style="text-align:right;"> 137 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Eighty-Eight </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 7 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 6.1 </td> <td style="text-align:right;"> 289 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Eighty-Nine </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 8 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 7.3 </td> <td style="text-align:right;"> 134 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Ninety </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 9 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.1 </td> <td style="text-align:right;"> 119 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Ninety-One </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 10 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 41 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 7.7 </td> <td style="text-align:right;"> 117 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Ninety-Two </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 11 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 7.4 </td> <td style="text-align:right;"> 107 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Ninety-Three </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 12 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.3 </td> <td style="text-align:right;"> 148 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Ninety-Four </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 13 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> NA </td> <td style="text-align:right;"> 8.2 </td> <td style="text-align:right;"> 110 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Ninety-Five </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 14 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 7.1 </td> <td style="text-align:right;"> 95 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Ninety-Six </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 15 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 40 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 7.0 </td> <td style="text-align:right;"> 87 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Ninety-Seven </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 16 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 41 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 7.2 </td> <td style="text-align:right;"> 92 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Ninety-Eight </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 17 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 42 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 8.1 </td> <td style="text-align:right;"> 110 </td> </tr> <tr> <td style="text-align:left;"> Jane the Virgin </td> <td style="text-align:left;"> Chapter Ninety-Nine </td> <td style="text-align:right;"> 5 </td> <td style="text-align:right;"> 18 </td> <td style="text-align:right;"> 2014 </td> <td style="text-align:right;"> 2019 </td> <td style="text-align:right;"> 41 </td> <td style="text-align:left;"> Comedy </td> <td style="text-align:right;"> 6.7 </td> <td style="text-align:right;"> 101 </td> </tr> <tr> <td style="text-align:left;"> The Good Place </td> <td style="text-align:left;"> A Girl from Arizona </td> <td style="text-align:right;"> 4 </td> <td style="text-align:right;"> 1 </td> <td style="text-align:right;"> 2016 </td> <td style="text-align:right;"> NA </td> <td style="text-align:right;"> 23 </td> <td style="text-align:left;"> Comedy,Drama,Fantasy </td> <td style="text-align:right;"> 7.6 </td> <td style="text-align:right;"> 521 </td> </tr> </tbody> </table></div> --- class: inverse, center, middle # The grammar of `ggplot2` <!---------------------------------------- BUILDING PLOTS one layer at a time -----------------------------------> --- layout: true class: left, top ## Building plots one layer at a time
--- .left-code[ ```r ggplot(iris) ``` ### Data ] .right-plot[ ![](presentation_ggplot2_files/figure-html/gg-canvas1-1.svg) ] --- .left-code[ ```r ggplot(iris, aes(x=Sepal.Length, y=Sepal.Width, color=Species)) ``` #### Data ### Aesthetics ] .right-plot[ ![](presentation_ggplot2_files/figure-html/gg-canvas2-1.svg) ] --- .left-code[ ```r ggplot(iris, aes(x=Sepal.Length, y=Sepal.Width, color=Species)) + * geom_point() ``` #### Data #### Aesthetics ### Geometries ] .right-plot[ ![](presentation_ggplot2_files/figure-html/gg-canvas3-1.svg) ] --- .left-code[ ```r ggplot(iris, aes(x=Sepal.Length, y=Sepal.Width, color=Species)) + geom_point() + * scale_color_brewer(palette="Dark2") ``` .pull-left[ #### Data #### Aesthetics #### Geometries ### Scales ] .pull-right[] ] .right-plot[ ![](presentation_ggplot2_files/figure-html/gg-canvas4-1.svg) ] --- .left-code[ ```r ggplot(iris, aes(x=Sepal.Length, y=Sepal.Width, color=Species)) + geom_point() + scale_color_brewer(palette="Dark2") + * stat_summary(fun.y="mean", geom= "line") ``` .pull-left[ #### Data #### Aesthetics #### Geometries #### Scales ] .pull-right[ ### Statistical transformations ] ] .right-plot[ ![](presentation_ggplot2_files/figure-html/gg-canvas5-1.svg) ] --- .left-code[ ```r ggplot(iris, aes(x=Sepal.Length, y=Sepal.Width, color=Species)) + geom_point() + scale_color_brewer(palette="Dark2") + stat_summary(fun.y="mean", geom= "line") + * coord_flip() ``` .pull-left[ #### Data #### Aesthetics #### Geometries #### Scales ] .pull-right[ #### Statistical transformations ### Coordinate systems ] ] .right-plot[ ![](presentation_ggplot2_files/figure-html/gg-canvas6-1.svg) ] --- .left-code[ ```r ggplot(iris, aes(x=Sepal.Length, y=Sepal.Width, color=Species)) + geom_point() + scale_color_brewer(palette="Dark2") + stat_summary(fun.y="mean", geom= "line") + coord_flip() + * facet_wrap(~Species) ``` .pull-left[ #### Data #### Aesthetics #### Geometries #### Scales ] .pull-right[ #### Statistical transformations #### Coordinate systems ### Facets ] ] .right-plot[ ![](presentation_ggplot2_files/figure-html/gg-canvas7-1.svg) ] --- .left-code[ ```r ggplot(iris, aes(x=Sepal.Length, y=Sepal.Width, color=Species)) + geom_point() + scale_color_brewer(palette="Dark2") + stat_summary(fun.y="mean", geom= "line") + coord_flip() + facet_wrap(~Species) + * theme_bw() + theme(legend.position="top") ``` .pull-left[ #### Data #### Aesthetics #### Geometries #### Scales ] .pull-right[ #### Statistical transformations #### Coordinate systems #### Facets ### Themes ] ] .right-plot[ ![](presentation_ggplot2_files/figure-html/gg-canvas8-1.svg) ] --- .left-code[ ```r ggplot(iris, aes(x=Sepal.Length, y=Sepal.Width, color=Species)) + geom_point() + scale_color_brewer(palette="Dark2") + stat_summary(fun.y="mean", geom= "line") + coord_flip() + facet_wrap(~Species) + theme_bw() + theme(legend.position="top") + * annotate("text", x=7.5, y=2.5, label="Pval") ``` .pull-left[ #### Data #### Aesthetics #### Geometries #### Scales ] .pull-right[ #### Statistical transformations #### Coordinate systems #### Facets #### Themes ### Annotation ] ] .right-plot[ ![](presentation_ggplot2_files/figure-html/gg-canvas9-1.svg) ] <!---------------------------------------- GGPLOT2 BASICS -----------------------------------> --- layout: false class: inverse, middle, center # Let's take a deeper look! --- layout: true class: left, top ## Basic `ggplot2`
--- class: highlight .left-code[ ```r ggplot(iris) ``` ### Data ] .right-plot[ ![](presentation_ggplot2_files/figure-html/gg-canvas1-1.svg) ] --- .left-column[ ## Data `ggplot()` ] .right-column[ The first step for plotting is having your data in a __tidy__ (aka long) format. What does this mean? 1. Each __variable__ forms a __column__. 2. Each __observation__ forms a __row__. .pull-left[ #### Wide format (messy)
Drug | Response.CTRL | Response.T1D -----|---------------|---------------- A | 3 | 12 B | 6 | 56 C | 8 | 2 ] .pull-right[ #### Long format (tidy)
Drug | Patient | Response -----|---------|---------- A | CTRL | 3 B | CTRL | 6 C | CTRL | 8 A | T1D | 23 B | T1D | 56 C | T1D | 2 ] ] --- .left-column[ ## Data `ggplot()` ] .right-column[ The first step for plotting is having your data in a __tidy__ (aka long) format. What does this mean? 1. Each __variable__ forms a __column__. 2. Each __observation__ forms a __row__. You can convert data from **wide** to **long** format using `reshape2::melt()` ] --- class: highlight .left-code[ ```r ggplot(iris, aes(x=Sepal.Length, y=Sepal.Width, color=Species)) ``` #### Data ### Aesthetics ] .right-plot[ ![](presentation_ggplot2_files/figure-html/gg-canvas2-1.svg) ] --- .left-column[ ### Data ## Aesthetics `aes()` ] .right-column[ The __aesthetics__ argument indicates how we map the data columns to visual elements or parameters. - Variable 1 → **x** - Variable 2 → **y** - Variable 3 → **color**, fill, shape, etc. All aesthetics need to be defined inside an `aes()` function. You can define aesthetics for the - **whole plot** by including them in the `ggplot()` function. - **specific geometry** by including them in the `geom_XXX()` function. ] --- class: highlight .left-code[ ```r ggplot(iris, aes(x=Sepal.Length, y=Sepal.Width, color=Species)) + * geom_point() ``` #### Data #### Aesthetics ### Geometries ] .right-plot[ ![](presentation_ggplot2_files/figure-html/gg-canvas3-1.svg) ] --- .left-column[ ### Data ### Aesthetics ## Geometries `geom_*()` ] .right-column[ The **geometries** indicate which geometric shapes should be plotted by using the parameters and variables defined in `aes()`. Type | Function | Image -----------|--------------------|----------------------------------------------- Point | `geom_point()` | ![](presentation_ggplot2_files/figure-html/geom-point-1.svg) Line | `geom_line()` | ![](presentation_ggplot2_files/figure-html/geom-line-1.svg) Bar | `geom_bar()` | ![](presentation_ggplot2_files/figure-html/geom-bar-1.svg) Histogram | `geom_histogram()` | ![](presentation_ggplot2_files/figure-html/geom-hist-1.svg) Regression | `geom_smooth()` | ![](presentation_ggplot2_files/figure-html/geom-smooth-1.svg) Boxplot | `geom_boxplot()` | ![](presentation_ggplot2_files/figure-html/geom-box-1.svg) ] --- .left-column[ ### Data ### Aesthetics ## Geometries `geom_*()` ] .right-column[ The **geometries** indicate which geometric shapes should be plotted by using the parameters and variables defined in `aes()`. These are just some of all the available `geom_`: ``` ## [1] "geom_abline" "geom_area" "geom_bar" ## [4] "geom_bin2d" "geom_blank" "geom_boxplot" ## [7] "geom_col" "geom_contour" "geom_count" ## [10] "geom_crossbar" "geom_curve" "geom_density" ## [13] "geom_density_2d" "geom_density2d" "geom_dotplot" ## [16] "geom_errorbar" "geom_errorbarh" "geom_freqpoly" ## [19] "geom_hex" "geom_histogram" "geom_hline" ## [22] "geom_jitter" "geom_label" "geom_line" ## [25] "geom_linerange" "geom_map" "geom_path" ## [28] "geom_point" "geom_pointrange" "geom_polygon" ## [31] "geom_qq" "geom_qq_line" "geom_quantile" ## [34] "geom_raster" "geom_rect" "geom_ribbon" ## [37] "geom_rug" "geom_segment" "geom_sf" ## [40] "geom_sf_label" "geom_sf_text" "geom_smooth" ## [43] "geom_spoke" "geom_step" "geom_text" ## [46] "geom_tile" "geom_violin" "geom_vline" ``` ] --- layout: false class: inverse, middle, center # Time for some examples & exercises! --- layout: true class: left, top ## Hands on!
--- .left-code[ ### **Example 1**: Plot the _number of votes_ for each _TV series_ using boxplots ```r ggplot(df, aes(tvseries_title, num_votes)) + geom_boxplot() ``` ] .right-plot[ ![](presentation_ggplot2_files/figure-html/example-1-1.svg) ] --- .left-code[ ### **Example 2**: Plot the _number of votes per season_ for each _TV series_ using boxplots ```r ggplot(df, aes(tvseries_title, num_votes, fill=season_number)) + geom_boxplot() ``` ] .right-plot[ ![](presentation_ggplot2_files/figure-html/example-2-1.svg) ] --- .left-code[ ### **Example 2**: Plot the _number of votes per season_ for each _TV series_ using boxplots ```r ggplot(df, aes(tvseries_title, num_votes, fill=season_number)) + geom_boxplot() ``` This looks wrong... What is happening? <img src="https://media.giphy.com/media/d5Fc6QOUaBawLOxHbR/giphy.gif" width="50%" style="display: block; margin: auto;" /> ] .right-plot[ ![](presentation_ggplot2_files/figure-html/example-2-1.svg) ] --- .left-code[ ### **Example 2**: Plot the _number of votes per season_ for each _TV series_ using boxplots ```r ggplot(df, aes(tvseries_title, num_votes, fill=factor(season_number))) + geom_boxplot() ``` Some geometries need **discrete values**. As `season_number` is a `numerical` variable, ggplot2 considers it a `continuous` variable. We need to factorize it so ggplot knows how to group the different values. ] .right-plot[ ![](presentation_ggplot2_files/figure-html/example-2-corrected-1.svg) ] --- class: highlight ### **Exercise 1**: Plot the _average ratings_ for each _TV series_ using boxplots ### **Exercise 2**: Plot the _average ratings per season_ for each _TV series_ using boxplots ### **Exercise 3**: Plot the distribution of _average ratings_ for each _TV series_ using violin plots and boxplots Using the plots you generated, try to answer the following questions: - #### Which is the highest rated TV show? - #### Sequels are never any good? --- class: highlight .left-code[ ### **Exercise 1**: Plot the _average ratings_ for each _TV series_ using boxplots ```r ggplot(df, aes(tvseries_title, average_rating)) + geom_boxplot() ``` **Which is the highest rated TV show?** <img src="https://media.giphy.com/media/ZB95y3XSFbljaNu7mT/giphy.gif" width="50%" style="display: block; margin: auto;" /> ] .right-plot[ ![](presentation_ggplot2_files/figure-html/exercise-1-1.svg) ] --- class: highlight .left-code[ ### **Exercise 2**: Plot the _average ratings per season_ for each _TV series_ using boxplots ```r ggplot(df, aes(tvseries_title, average_rating, fill=factor(season_number))) + geom_boxplot() ``` **Sequels are never any good?** <img src="https://media.giphy.com/media/JOIE1rZkUF4qI/giphy.gif" width="40%" style="display: block; margin: auto;" /> ] .right-plot[ ![](presentation_ggplot2_files/figure-html/exercise-2-1.svg) ] --- class: highlight .left-code[ ### **Exercise 3**: Plot the distribution of _average ratings_ for each _TV series_ using violin plots and boxplots ```r ggplot(df, aes(tvseries_title, average_rating)) + geom_violin() + geom_boxplot(width=.2) ``` <img src="https://media.giphy.com/media/Zvw675pKMgo2qTmcWR/giphy.gif" width="40%" style="display: block; margin: auto;" /> ] .right-plot[ ![](presentation_ggplot2_files/figure-html/exercise-3-1.svg) ] This should really be the first and **last** time you produce this kind of plot!
--- .left-code[ ### **Example 3**: Plot the _number of episodes_ for each _TV series_ using barplots ```r ggplot(df, aes(tvseries_title, fill=factor(season_number))) + geom_bar(stat="count", color="black") ``` ] .right-plot[ ![](presentation_ggplot2_files/figure-html/example-3-1.svg) ] --- .left-code[ ### **Example 3**: Plot the _number of episodes_ for each _TV series_ using barplots ```r ggplot(df, aes(tvseries_title, fill=factor(season_number))) + geom_bar(stat="count", color="black", position="fill") ``` ] .right-plot[ ![](presentation_ggplot2_files/figure-html/example-3a-1.svg) ] --- .left-code[ ### **Example 3**: Plot the _number of episodes_ for each _TV series_ using barplots ```r ggplot(df, aes(tvseries_title, fill=factor(season_number))) + geom_bar(stat="count", color="black", position="dodge") ``` ] .right-plot[ ![](presentation_ggplot2_files/figure-html/example-3b-1.svg) ] --- class: highlight ### **Exercise 4**: Plot the density of _average ratings_ for each _TV series_. **Tip**: `geom_density()` is another example of a function that does not need a y aesthetic -- it automatically computes and draws the kernel density estimate. --- class: highlight .left-code[ ### **Exercise 4**: Plot the density of _average ratings_ for each _TV series_. ```r ggplot(df, aes(average_rating)) + geom_density(aes(fill=tvseries_title), alpha=0.5) ``` ] .right-plot[ ![](presentation_ggplot2_files/figure-html/exercise-4-1.svg) ] --- layout: false class: inverse, middle, center ## Back to basics --- layout: true class: left, top ## Basic `ggplot2`
--- class: highlight .left-code[ ```r ggplot(iris, aes(x=Sepal.Length, y=Sepal.Width, color=Species)) + geom_point() + * scale_color_brewer(palette="Dark2") ``` .pull-left[ #### Data #### Aesthetics #### Geometries ### Scales ] .pull-right[ ] ] .right-plot[ ![](presentation_ggplot2_files/figure-html/gg-canvas4-1.svg) ] --- .left-column[ ### Data ### Aesthetics ### Geometries ## Scales `scale_*_*()` ] .right-column[ Adjusts the scales for your different aesthetic paramaters: `scale` + `<aes>` + `<type>`, where: - `<aes>` indicates the parameter you want to modify (_y_, _color_, _shape_) - `<type>` indicates what type of variable `<aes>` is (or the modification you want to perform). Some examples: - `scale_x_discrete()` allows you to modify your discrete __x axis__. - `scale_y_continuous()` allows you to modify your continuous __y axis__. - `scale_color_manual()` if you want to manually adjust the __colors__ of your discrete variable. - `scale_fill_gradient()` allows you to adjut the colors of your __fill__ gradient (for a continuous variable). ] --- .left-column[ ### Data ### Aesthetics ### Geometries ## Scales `scale_*_*()` ] .right-column[ Usually you will use **scales** to change the **color** and **fill** of your data. `ggplot2` has some built in color palettes and also provides wrapper functions to the [`RColorBrewer`](https://cran.r-project.org/web/packages/RColorBrewer/index.html) (`scale_fill_brewer`, `scale_color_brewer`). <img src="presentation_ggplot2_files/figure-html/unnamed-chunk-15-1.png" width="50%" style="display: block; margin: auto;" /> ] --- .left-column[ ### Data ### Aesthetics ### Geometries ## Scales `scale_*_*()` ] .right-column[ Usually you will use **scales** to change the **color** and **fill** of your data. `ggplot2` has some built in color palettes and also provides wrapper functions to the [`RColorBrewer`](https://cran.r-project.org/web/packages/RColorBrewer/index.html) (`scale_fill_brewer`, `scale_color_brewer`). There are additional R packages that provide more color palettes: - **[`viridis`](https://github.com/sjmgarnier/viridis)**. color maps are designed in such a way that they will analytically be perfectly perceptually-uniform, both in regular form and also when converted to black-and-white. They are also designed to be perceived by readers with the most common form of color blindness. These re the new color maps from [Matplotib](https://matplotlib.org/). - **[`ggsci`](https://github.com/nanxstats/ggsci)**. Offers a collection of ggplot2 color palettes inspired by scientific journals, data visualization libraries, science fiction movies, and TV shows. - **[`gameoftrhones`](https://github.com/aljrico/gameofthrones)**. This package provides a round of palettes inspired by the Game of Thrones TV show. - **[`palettetown`](https://github.com/timcdlucas/palettetown)**. An R package providing pokemon colour palettes. ] --- layout: false class: inverse, middle, center # If you want to be a `ggplot2` wizard you need to customize your color scales! <img src="https://media.giphy.com/media/t9lPSqrGSc1IOnajTz/giphy.gif" width="40%" style="display: block; margin: auto;" /> --- layout: true class: left, top ## Hands on!
--- .left-code[ ### **Example 4**: This plot looks quite sad and wrong... Let's improve it by tweaking its scales! ```r ggplot(df, aes(tvseries_title, average_rating, color=factor(season_number))) + geom_jitter() + geom_boxplot() ``` - Labels for the axis and legend are terrible. - Default `ggplot2` colors. - Difficult to interpret... Many different boxplot and data points. ] .right-plot[ ![](presentation_ggplot2_files/figure-html/example-4-1.svg) ] --- .left-code[ ### **Example 4**: This plot looks quite sad and wrong... Let's improve it by tweaking its scales! ```r ggplot(df, aes(tvseries_title, average_rating)) + geom_jitter(aes(color=factor(season_number)), width=0.2, alpha=0.8) + geom_boxplot(fill=NA, width=0.5, outlier.shape=NA, size=1) + scale_color_brewer(palette="RdPu", name="Season", labels=function(x) paste0("S0", x)) + scale_y_continuous(name="Average Rating (IMDb)", breaks=scales::pretty_breaks(), limits=c(0,10)) + xlab("TV series title") ``` ] .right-plot[ ![](presentation_ggplot2_files/figure-html/example-4-corrected-1.svg) ] --- class: highlight .left-code[ ### **Exercise 5**: Yet another sad plot... Try to improve it as much as you can! ```r ggplot(df, aes(runtime_min, fill=tvseries_title)) + geom_density() ``` ] .right-plot[ ![](presentation_ggplot2_files/figure-html/exercise-5-1.svg) ] --- class: highlight .left-code[ ### **Exercise 5**: Yet another sad plot... Try to improve it as much as you can! ```r ggplot(df, aes(runtime_min, fill=tvseries_title)) + geom_density(alpha=0.6) + ggsci::scale_fill_futurama(name="TV series") + scale_x_continuous(name="Episode duration", breaks=scales::pretty_breaks(n=4), labels=function(x) paste(x, "min"), limits=c(0, NA)) + ylab("Density") ``` ] .right-plot[ ![](presentation_ggplot2_files/figure-html/exercise-5-corrected-1.svg) ] --- layout: false class: inverse, middle, center ## Time for more advanced functions! --- layout: true class: left, top ## Advanced `ggplot2`
--- class: highlight .left-code[ ```r ggplot(iris, aes(x=Sepal.Length, y=Sepal.Width, color=Species)) + geom_point() + scale_color_brewer(palette="Dark2") + * stat_summary(fun.y="mean", geom= "line") ``` .pull-left[ #### Data #### Aesthetics #### Geometries #### Scales ] .pull-right[ ### Statistical transformations ] ] .right-plot[ ![](presentation_ggplot2_files/figure-html/gg-canvas5-1.svg) ] --- .left-column[ ## Statistical transformations `stat_*()` ] .right-column[ The `stat` functions and parameters perform statistical transformations on your data, for example:. - Plotting the **mean** of your data points. - Plotting the **standard error** of the mean of your data points. ```r ggplot(iris, aes(Species, Petal.Width)) + geom_jitter(aes(color=Species)) + stat_summary(fun.y=mean, geom="point", size=4) + stat_summary(fun.data=mean_se, geom="errorbar") ``` <img src="presentation_ggplot2_files/figure-html/unnamed-chunk-18-1.svg" width="50%" style="display: block; margin: auto;" /> ] --- .left-code[ ### **Example 5**: Plot the _mean average ratings per season_ for each _TV series_. ```r ggplot(df, aes(factor(season_number), average_rating, color=tvseries_title, fill=tvseries_title)) + geom_jitter(width=0.2, alpha=0.5) + stat_summary(aes(group=tvseries_title), fun.y=mean, geom="line", size=1) + stat_summary(fun.y=mean, geom="point", size=4, pch=21, color="black") + palettetown::scale_color_poke(pokemon="charizard", name="TV series") + palettetown::scale_fill_poke(pokemon="charizard", name="TV series") + xlab("Season number") + ylab("Average rating") ``` ] .right-plot[ ![](presentation_ggplot2_files/figure-html/example-5-1.svg) ] --- class: highlight .left-code[ ```r ggplot(iris, aes(x=Sepal.Length, y=Sepal.Width, color=Species)) + geom_point() + scale_color_brewer(palette="Dark2") + stat_summary(fun.y="mean", geom= "line") + * coord_flip() ``` .pull-left[ #### Data #### Aesthetics #### Geometries #### Scales ] .pull-right[ #### Statistical transformations ### Coordinate systems ] ] .right-plot[ ![](presentation_ggplot2_files/figure-html/gg-canvas6-1.svg) ] --- .left-column[ ### Statistical transformations ## Coordinate systems `coord_*()` ] .right-column[ The **coordinate systems** define how the x and y combine to position the elements in the plot. The default coordinate system is **cartesian** (`coord_cartesian()`) and several functions can modify it: - `coord_fixed()` maintains the same "aspect ratio" for the x and y axis. - `coord_flip()` flips the x and y coordinates. You can also transform your da to polar coordinates using `coord_polar()`. ] --- .left-code[ ### **Example 6**: Zoom into an specific region of the plot. ```r ggplot(df, aes(num_votes, average_rating)) + geom_point(aes(color=tvseries_title)) + scale_color_brewer(palette="Set1", name="TV series") + xlab("# of votes") + ylab("Average rating") ``` ] .right-plot[ ![](presentation_ggplot2_files/figure-html/example-6-1.svg) ] --- .left-code[ ### **Example 6**: Zoom into an specific region of the plot. ```r ggplot(df, aes(num_votes, average_rating)) + geom_point(aes(color=tvseries_title)) + scale_color_brewer(palette="Set1", name="TV series") + xlab("# of votes") + ylab("Average rating") + * coord_cartesian(xlim=c(0,500), ylim=c(7,9)) ``` ] .right-plot[ ![](presentation_ggplot2_files/figure-html/example-6-corrected-1.svg) ] --- class: highlight .left-code[ ```r ggplot(iris, aes(x=Sepal.Length, y=Sepal.Width, color=Species)) + geom_point() + scale_color_brewer(palette="Dark2") + stat_summary(fun.y="mean", geom= "line") + coord_flip() + * facet_wrap(~Species) ``` .pull-left[ #### Data #### Aesthetics #### Geometries #### Scales ] .pull-right[ #### Statistical transformations #### Coordinate systems ### Facets ] ] .right-plot[ ![](presentation_ggplot2_files/figure-html/gg-canvas7-1.svg) ] --- .left-column[ ### Statistical transformations ### Coordinate systems ## Facets `facet_*()` ] .right-column[ Faceting generates different plots displaying different **subsets** of the data using a **discrete variable**. There are two main functions for faceting: - `facet_grid()`. Lay out panels in a grid using two discrete variables (`variable1 ~ variable2`). - `facet_wrap()`. Creates a ribbon of panels displaying selecting the different values for your discrete variable. ] --- .left-code[ ### **Example 7**: Add classification according to the TV series title. ```r ggplot(df, aes(num_votes, average_rating)) + geom_point(aes(color=factor(season_number))) + scale_color_brewer(palette="Set1", name="Season") + xlab("# of votes") + ylab("Average rating") + ylim(0,10) ``` ] .right-plot[ ![](presentation_ggplot2_files/figure-html/example-7-1.svg) ] --- .left-code[ ### **Example 7**: Add classification according to the TV series title. ```r ggplot(df, aes(num_votes, average_rating)) + geom_point(aes(color=factor(season_number))) + scale_color_brewer(palette="Set1", name="Season") + xlab("# of votes") + ylab("Average rating") + ylim(0,10) + * facet_wrap(~tvseries_title, scales="free_x") ``` ] .right-plot[ ![](presentation_ggplot2_files/figure-html/example-7-corrected-1.svg) ] --- class: highlight .left-code[ ```r ggplot(iris, aes(x=Sepal.Length, y=Sepal.Width, color=Species)) + geom_point() + scale_color_brewer(palette="Dark2") + stat_summary(fun.y="mean", geom= "line") + coord_flip() + facet_wrap(~Species) + * theme_bw() + theme(legend.position="top") ``` .pull-left[ #### Data #### Aesthetics #### Geometries #### Scales ] .pull-right[ #### Statistical transformations #### Coordinate systems #### Facets ### Themes ] ] .right-plot[ ![](presentation_ggplot2_files/figure-html/gg-canvas8-1.svg) ] --- .left-column[ ### Statistical transformations ### Coordinate systems ### Facets ## Themes `theme` ] .right-column[ **Themes** allow you to tweak the overall look of the plot (only the elements that are not mapped to data). #### Complete themes You can find theme functions that change completely the look of the plot. Within `ggplot2` there are a few: `theme_bw()`, `theme_dark()`, `theme_gray()`, `theme_light()`, `theme_minimal()`. There are additional packages that include other themes for `ggplot2`: - [`ggthemes`](https://github.com/jrnold/ggthemes). Additional themes, scales, and geoms for ggplot2. - [`tvthemes`](https://github.com/Ryo-N7/tvthemes). ggplot2 themes and palettes based on your favorite TV shows. - [`hrbrthemes`](https://github.com/hrbrmstr/hrbrthemes/). Opinionated, typographic-centric ggplot2 themes and theme components. - [`vapoRwave`](https://github.com/moldach/vapoRwave/). Vaporwave themes and color palettes for ggplot2 **Complete themes** are a nice way of changing the overall look of your plot with one single function! ] --- .left-column[ ### Statistical transformations ### Coordinate systems ### Facets ## Themes `theme` ] .right-column[ **Themes** allow you to tweak the overall look of the plot (only the elements that are not mapped to data). #### Specific theme elements You can also change specific theme elements, such as the legend position, the size of the axis titles or the width of the axis lines by using the `theme()` function with the necessary arguments. - `legend.position=c("none", "top", "right", "bottom", "left")` - `axis.title=element_text(size=9)` - `axis.line=element_line(size=2)` You can check all the possible arguments you can pass to the `theme()` function [here](https://ggplot2.tidyverse.org/reference/theme.html). ] --- .left-code[ ### **Example 8**: Replace the default `ggplot2` theme for another one! ```r ggplot(df, aes(num_votes, average_rating)) + geom_point(aes(color=tvseries_title)) + scale_color_brewer(palette="Set1", name="TV series") + xlab("# of votes") + ylab("Average rating") ``` ] .right-plot[ ![](presentation_ggplot2_files/figure-html/example-6-1.svg) ] --- .left-code[ ### **Example 8**: Replace the default `ggplot2` theme for another one! ```r ggplot(df, aes(num_votes, average_rating)) + geom_point(aes(color=tvseries_title)) + scale_color_brewer(palette="Set1", name="TV series") + xlab("# of votes") + ylab("Average rating") + * theme_minimal() ``` ] .right-plot[ ![](presentation_ggplot2_files/figure-html/example-8-corrected-1.svg) ] --- .left-code[ ### **Example 8**: Replace the default `ggplot2` theme for another one! ```r ggplot(df, aes(num_votes, average_rating)) + geom_point(aes(color=tvseries_title), size=2) + tvthemes::scale_color_brooklyn99(palette = "Regular", name="TV series") + xlab("# of votes") + ylab("Average rating") + * tvthemes::theme_brooklyn99() ``` ] .right-plot[ ![](presentation_ggplot2_files/figure-html/example-8-corrected-b-1.svg) ] --- .left-code[ ### **Example 9**: Modify specific `theme()` elements so the plot looks nicer! ```r ggplot(df, aes(tvseries_title, average_rating)) + geom_jitter(aes(color=factor(season_number)), width=0.2, alpha=0.8) + geom_boxplot(fill=NA, width=0.5, outlier.shape=NA, size=1) + scale_color_brewer(palette="RdPu", name="Season", labels=function(x) paste0("S0", x)) + scale_y_continuous(name="Average Rating (IMDb)", breaks=scales::pretty_breaks(), limits=c(0,10)) + xlab("TV series title") ``` ] .right-plot[ ![](presentation_ggplot2_files/figure-html/example-4-corrected-1.svg) ] --- .left-code[ ### **Example 9**: Modify specific `theme()` elements so the plot looks nicer! ```r ggplot(df, aes(tvseries_title, average_rating)) + geom_jitter(aes(color=factor(season_number)), width=0.2, alpha=0.8) + geom_boxplot(fill=NA, width=0.5, outlier.shape=NA, size=1) + scale_color_brewer(palette="RdPu", name="Season", labels=function(x) paste0("S0", x)) + scale_y_continuous(name="Average Rating (IMDb)", breaks=scales::pretty_breaks(), limits=c(0,10)) + xlab("TV series title") + theme(axis.text.x=element_text(angle=30, hjust=1), panel.background=element_rect(fill="white"), axis.line=element_line(size=0.5), legend.position="top", axis.text=element_text(size=12), axis.title=element_text(size=14)) ``` ] .right-plot[ ![](presentation_ggplot2_files/figure-html/example-9-corrected-1.svg) ] --- class: highlight .left-code[ ```r ggplot(iris, aes(x=Sepal.Length, y=Sepal.Width, color=Species)) + geom_point() + scale_color_brewer(palette="Dark2") + stat_summary(fun.y="mean", geom= "line") + coord_flip() + facet_wrap(~Species) + theme_bw() + theme(legend.position="top") + * annotate("text", x=7.5, y=2.5, label="Pval") ``` .pull-left[ #### Data #### Aesthetics #### Geometries #### Scales ] .pull-right[ #### Statistical transformations #### Coordinate systems #### Facets #### Themes ### Annotation ] ] .right-plot[ ![](presentation_ggplot2_files/figure-html/gg-canvas9-1.svg) ] --- .left-column[ ### Statistical transformations ### Coordinate systems ### Facets ### Themes ## Annotations `annotate` ] .right-column[ Allows annotation of different types of `geom` by manually inputing the x and y values for the annotation. You just need to add the funcion `annotate()` with the `geom` you want to use and the `x` and `y` coordinates where it should be drawn. If you have used `facet_*()` the annotation will be displayed in all the panels! ] --- layout: false class: left, middle ## Saving your `ggplot2` graphs
The function needed for saving ggplot graphs is `ggsave()`. By default, it will save the last plot you generated in the specified file `filename`. It will automatically extract the corredct format from your `filname` suffix ("png", "pdf", "svg" among others). Check all options typing `?ggsave` ```r ggsave(filename="plot_example.png") ``` --- class: inverse, middle, center #### But that's not the end of it # Expanding `ggplot2` with extensions --- layout: true class: top, left ## Expanding `ggplot2`
--- ### Finding `ggplot2` extensions Extensions add new functionalities, `geoms`, palettes and themes for `ggplot2`. .center[[ggplot2-exts.org](https://www.ggplot2-exts.org/)] <img src="presentation_ggplot2_files/img/screenshot_ggplot2_extensions.png" width="60%" style="display: block; margin: auto;" /> --- ### Combined plots with `cowplot` [`cowplot`](https://github.com/wilkelab/cowplot) provides various features that help with creating publication-quality figures: - Set of themes - Functions to align plots and arrange them into complex compound figures - Functions that make it easy to annotate plots and or mix plots with images The `cowplot` package provides the function `plot_grid()` to arrange plots into a grid and label them. More information can be found in the `cowplot` vignette ([here](https://wilkelab.org/cowplot/articles/introduction.html)). .left-code[ ```r library(cowplot) p1 <- ggplot(mtcars, aes(disp, mpg)) + geom_point() p2 <- ggplot(mtcars, aes(qsec, mpg)) + geom_point() *plot_grid(p1, p2, labels = c('A', 'B')) ``` ] .right-plot[ ![](presentation_ggplot2_files/figure-html/ex-cowplot-1.svg) ] --- ### Animated plots with `gganimate` `gganimate` extends the grammar of graphics as implemented by ggplot2 to include the **description of animation**. It does this by providing a range of new grammar classes that can be added to the plot object in order to customise how it should change with time. You can find more information on how to animate your ggplot2 plots in the vignette ([here](https://gganimate.com/articles/gganimate.html)). .left-code[ ```r library(gganimate) library(gapminder) ggplot(gapminder, aes(gdpPercap, lifeExp, size = pop, colour = country)) + geom_point(alpha = 0.7, show.legend = FALSE) + scale_colour_manual(values = country_colors) + scale_size(range = c(2, 12)) + scale_x_log10() + facet_wrap(~continent) + # Here comes the gganimate specific bits labs(title = 'Year: {frame_time}', x = 'GDP per capita', y = 'life expectancy') + transition_time(year) + ease_aes('linear') ``` ] .right-plot[ <img src="https://gganimate.com/reference/figures/README-unnamed-chunk-4-1.gif" width="75%" /> ] --- ### Interactive plots with `ggiraph` `ggiraph` is a tool that allows you to create **dynamic ggplot graphs**. This allows you to add tooltips, animations and JavaScript actions to the graphics.The package also allows the selection of graphical elements when used in shiny applications. You can find more information on how to make your ggplot2 plots interactive in the vignette ([here](https://davidgohel.github.io/ggiraph/articles/offcran/using_ggiraph.html)). .left-code[ ```r library(ggiraph) gg_point <- ggplot(mpg, aes(displ, cty, color=hwy)) + theme_minimal() + geom_point_interactive(aes(tooltip = model, data_id = model), size = 2) girafe(ggobj = gg_point) ``` ] .right-plot[ <iframe src="ggiraph_ex.html" width = "600px", height = "3505px" frameBorder="0"></iframe> ] --- layout: false class: left, top, highlight ## Hands on!
### Play around with `ggplot2` themes & extensions and the `tvseries` dataset! #### Remember, you can find a gallery of `ggplot2` extensions & themes at [www.ggplot2-exts.org](https://www.ggplot2-exts.org/) <img src="https://media.giphy.com/media/3JVHxc37yo5g3pI5BE/giphy.gif" width="25%" style="display: block; margin: auto;" /> ### Share your amazing plots on twitter tagging `@RLadiesBCN`! --- class: top, left ## Other `ggplot2` resources
- [`ggplot2`: Elegant Graphics for Data Analysis](https://ggplot2.tidyverse.org/reference/theme.html) - [`ggplot2` documentation](https://ggplot2.tidyverse.org/reference/) - [Data Visualization Cheat Sheet](https://github.com/rstudio/cheatsheets/raw/master/data-visualization-2.1.pdf) - [R for Data Science](r4ds.had.co.nz) ## This workshop
You can find the code for these slides & all course materials at [github.com/mireia-bioinfo/workshop_ggplot2](https://github.com/mireia-bioinfo/workshop_ggplot2) These slides were created using the [xaringan](https://github.com/yihui/xaringan) R package with the R-Ladies themes. --- class: inverse, center, middle # The end <img src="https://media.giphy.com/media/l4JySAWfMaY7w88sU/giphy.gif" width="50%" /> --- class: inverse, center, middle # Let's test what you've learned today! <img src="https://media.giphy.com/media/xThtalkAxYnZd94uB2/giphy.gif" width="50%" /> Go to #[kahoot.it](https://kahoot.it/)