B.16 Line plot with geom_line

Code
dg = dd %>% 
  filter(team == 'PHI')

ggplot(dg, aes(x = date, 
               y = score))+
  geom_line()

For multiple line plots, you can color by a column.

Code
dg = dd %>% 
  filter(team %in% c('PHI', 'GSW'))

ggplot(dg, aes(x = date, 
               y = score, 
               color = team))+
  geom_line()

That automatically groups by the color variable. You can also supply just group and get two lines with the same color.

Code
dg = dd %>% 
  filter(team %in% c('PHI', 'GSW'))

ggplot(dg, aes(x = date, 
               y = score, 
               group = team))+
  geom_line()