Hello,
I've created a scatter graph using plotly within R.
The colour of the dots indicates one thing, and the shape of the dots indicates another thing.
I'm using a colourscale to show values but the legend is all mixed up; it seems to be overlapping numbers (possibly from x axis and actual data values).
How do I solve this?
plot_ly(data, x= ~xaxiscolumn, y= ~yaxiscolumn,
type = "scatter",
mode = "markers",
marker=list(
size=list(size = 8),
color= ~Size,
colorbar=list(
title='Title',
len = 0.7,
orientation = 'h'
),
colorscale='Jet',
reversescale =T
),
symbol = ~categorycolumn,
symbols = c('circle', 'diamond', 'square', 'triangle-up')
)
Many thanks.