I\'m new to d3.js, and we have been requested to graph a multi-line chart. The data looks something like this:
The goal is to group by year then by Math.floor(average_rat