One line per coin, with buttons that switch the y axis between a linear and a log scale.
Arguments
- prices
Prices from
normalize_prices().- mode
"light"(the default) or"dark", to suit a light or dark page.
Examples
if (FALSE) { # \dontrun{
history <- get_history(c("Bitcoin (BTC)", "Ethereum (ETH)", "Solana (SOL)"))
plot_compare(normalize_prices(history))
} # }