no need to calc avgs in the client anymore
remove old legend example
simplify css
remove legend, add y axis
style