I have a dataset with the columns.
[1] "season" "place" "team" "points" "played" "won" "draw"
[8] "loss" "goals" "goals_taken" "goals_diff"
I want to build a geom_line
in ggplot
with the name of these columns in front of the lines.
The line will follow a x
timeline from 2006-2024.
The columns that will be used are:
x = season
col1 = points
col2 = draws
col3 = won
col4 = goals
I can't find a way to write the name of these columns in front of the line.