Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
90 views
in Technique[技术] by (71.8m points)

How to add a plot on a leaflet R map?

In the super-zip example,

https://shiny.rstudio.com/gallery/superzip-example.html

plots are displayed on the right side, showing metrics of interest. Such a useful display can be done in R Shiny. When creating a Leaflet map, I overlap layers in groups, that I switch on/off to add some interactivity.

I would like to add such side-graphs on the leaflet map. Such a map is easier to share as it can be just an html file.

The existing way found on SO relies on the pop-up method with svg files

plotting barchart in popup using leaflet library

https://rdrr.io/github/r-spatial/leafpop/man/addPopupGraphs.html

I wondered, whether such functionalities have been further developed.

question from:https://stackoverflow.com/questions/65922579/how-to-add-a-plot-on-a-leaflet-r-map

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...