Carson Sievert shows off the plotly library:
You might be wondering, “What can plotly offer over other interactive mapping packages such as leaflet, mapview, mapedit, etc?”. One big feature is the linked brushing framework, which works best when linking plotly together with other plotly graphs (i.e., only a subset of brushing features are supported when linking to other crosstalk-compatible htmlwidgets). Another is the ability to leverage the plotly.js API to make efficient updates in shiny apps via
plotlyProxy()
. Speaking of efficiency, plotly.js keeps on improving the performance of their WebGL-based rendering, so I recommend tryingplot_ly()
(withtoWebGL()
) and/orplot_mapbox()
if you have lots of graphical elements to render. Also, by having a consistent interface between these various mapping approaches, it’s much quicker and easier to switch from one approach to another when you need to leverage a different set of strengths and weaknesses.
Plotly’s on my list of things I’ll eventually get to one of these days. H/T R-Bloggers
Comments closed