add the legend of the streamgraph