UBC-MDS / f1-2021-analysis

A dashboard summarizing the Formula 1 2021 season results and highlights
https://eric1208.shinyapps.io/f1-2021-analysis/
MIT License
0 stars 4 forks source link

Implement team/driver colour for plots #57

Closed erictsai1208 closed 1 year ago

erictsai1208 commented 1 year ago

Implements part of #50 Implements comment from here.

Line plots of teams now are represented by their team colour. Drivers of each team are represented by their team colour. Drivers from the same team have different line types to differentiate them.

@RenzoWijn Want to consider changing the colours for some teams? I think there are 3 teams with different shades of blue and 2 or 3 with different shades of red... Play around with it and let me know.

tanmayag97 commented 1 year ago

Looks good to me, really like the dotted line that's differentiating drivers from the same team

YXIN15 commented 1 year ago

Looks good to me as well! Two of the team colors look kinda of similar (Red Bull Racing Honda and Williams Mercedes) -- think we should mention in the README that the lines are colored by official team color (and that the plots are interactive, which should help clarify things.

YXIN15 commented 1 year ago

I've added the commits that were done to #58 here now. We can close that one and merge this one.