I’m working on a 3D scatter plot, where the x and y correspond to latitude and longitude coordinates.
So far I was able to do it with this code:
p <- plot_ly(testlist$nodes, x = ~Latitude, y = ~Longitude, z = ~freq, color = ~freq, colors = c('#BF382A', '#0C4B8E')) %>% add_markers(size = ~freq, text = ~CITY, projection = list(x = list(opacity = 0.3, show = TRUE), y = list(opacity = 0.3, show = TRUE)))
Here’s a screenshot to show it.
However, I would like to plot a US map, on the z=0 projection (bottom of the graph). Is there any way to do so? It can be faded, and it’s mainly for reference.