Add Legend
Now let's modify the plot from the previous task with the legend!
Tarefa
Swipe to start coding
- Add
label
parameters to both plots. Use'United States'
aslabel
for theusa
data and'Canada'
for thecan
data. - Add a legend to the plot.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 1. Capítulo 7