Is it just me or is the scatterpolar plot not working in R?
I’m trying to run the first example from the polar charts page (https://plot.ly/r/polar-chart/) and getting the following error:
> library(plotly)
> packageVersion('plotly')
[1] ‘4.7.1’
>
> p <- plot_ly(
+ type = 'scatterpolar',
+ r = c(0,1,2,2),
+ theta = c(0,1.5,2.5,0),
+ mode = 'markers'
+ )
>
> p
Error: Trace type must be one of the following:
'scatter', 'box', 'bar', 'heatmap', 'histogram', 'histogram2d', 'histogram2dcontour', 'pie', 'contour', 'scatterternary', 'sankey', 'scatter3d', 'surface', 'mesh3d', 'scattergeo', 'choropleth', 'scattergl', 'pointcloud', 'heatmapgl', 'parcoords', 'scattermapbox', 'carpet', 'scattercarpet', 'contourcarpet', 'ohlc', 'candlestick', 'area'