I am looking for a solution where I can add a legend where you can see which color belongs to which asset. The code below gives me a nice figure but I need a legend too. Thanks in advance for any recommendation!
ggplot(data = Polkadot, aes(x=Date, y=Price.Last)) + geom_line(color="blue", size=1.5) +
geom_line(data = Cardano, aes(x=Date, y=Price.Last), color="blue4", size=1.5) +
geom_line(data = Solana, aes(x=Date, y=Price.Last), color="cyan", size=1.5) +
geom_line(data = Tezos, aes(x=Date, y=Price.Last), color="cyan4", size=1.5) +
geom_line(data = Bitcoin, aes(x=Date, y=Price.Last), color="black", size=1.5) +
geom_line(data = Basket, aes(x=Date, y=Price.Last), color="deepskyblue", size=1.5) +
theme_bw()
``