I'd like to visualise census data in order to compare data for each race throughout time.
Years 1950-2010 (every 10 years) are the rows in my data frame, and race is the column. The percentage of that race in a given year is shown by the data at the cross section.
I want the years on the x axis and the race on the y axis in my line graph. So, with my five "race" factors, I'd have five different coloured lines shown on the same graph.
I've tried watching videos and looking around, but nothing I've found appears to operate the way I want it to.
Edit: Instead of using a dataframe, I refactored the code and created my own.