I'm receiving the following error when running my code:
plot_ly(data, x = ~RighttoWork_NonRtw,
y = ~market_value_level_unfunded_liability,
text = ~paste("State: ", state,
"Market Value Level Unfunded Liability", market_value_level_unfunded_liability),
color = ~market_value_level_unfunded_liability,
size = ~market_value_level_unfunded_liability,
type = "scatter")
No scatter mode specifed: Setting the mode to markers Read more about this attribute -> https://plot.ly/r/reference/#scatter-mode Error:
size
/width
values must be numeric .
Why is this the case?
I'm trying to get a series of plot points with different sized points based on the unfunded liability variable figures. Unfortunately, I keep getting this error message.