Hello,
I created a heatmap using plot_ly() on a covid database showing countries on y axis and dates on x axis. However, I want the total sum for each country next to the heatmap. Can’t figure out how to do that!
Further, I’ve been trying to change the orientation of colorbar. After creating the heatmap, I try to:
heatmp<- heatmp %>% colorbar(orientation = ‘h’), and this says “Didn’t find a colorbar to modify.”
Meanwhile, there’s no colorbar orientation within the plot_ly() function, if I say orientation = ‘h’ at that stage it does nothing.
Many thanks!