given this data frame that is the result of a sum aggregation on the data.
how to transform this into the usual table as the one result of table
in order to plot it properly.
for more clear picture of the desired output, it should be something like this:
Mountain Bikes Road Bikes 2005 130694 708713 2006 168445 1304031 2007 0 56112
I even tried something silly like calculating the value individually then combining them. but it's still a data frame so it think of the first column to be values instead of headers.