I want to add hover text to this map (from ~IntZoneName) but just can't find a way. Am I correct to be using scatter? I'm using spatial files which I've joined with a dataframe and then using Plotly to make graph interactive. Currently hover is just displaying data from ~CrudeRate7DayPositive.
plot_ly(map_x,
type = "scatter",
color = ~CrudeRate7DayPositive,
colors = cols,
text = ~IntZoneName,
hoverinfo = "text",
alpha = 0.8) %>%
layout(title = "Crude Rates")
