Resolved: why not fill instead of color and group? (5:05)
I just wondered why didn't we use the 'fill' parameter instead of the color and group over here? I remember we did it when we were defining the aesthetics for the stacked area chart in R.
here we're creating a line chart that's why we're using color, instead of fill. Fill controls the "fill" of the figure, like the inside of the area chart areas or the inside of scatter points on a scatter plot. In case of a line chart you can use the colour argument instead.
Hope this helps!