I have the following dataframe:
STATE STATEFP `2000` `2005` `2010` `2015`
<chr> <dbl> <dbl> <dbl> <dbl> <dbl>
1 AL 1 0.958 0.953 0.953 0.944
2 AR 5 0.373 0.354 0.322 0.314
3 AZ 4 0.493 0.514 0.583 0.541
4 CA 6 0.604 0.675 0.608 0.326
5 CO 8 0.819 0.818 0.862 0.856
6 CT 9 0.870 0.817 0.748 0.791
Now I want to make a line plot where 2000, 2005, 2010 and 2015 are place on the x-axis and the values in those columns are plotted. Each line should then have a color which corresponds with the right State.
Do I have to transfer my data or is it easier?