World oceanic heat map with abundance data in R

Dear R experts,
I want to create a world oceanic heatmap representing the relative abundance of a variables with a color gradient here is my script:

p1=read.csv("map_ppe_higher2.csv", header=T)

leaflet(p1) %>%
addTiles() %>%
addCircles(lng = ~Longitude
, lat = ~Latitude, weight = 2, color= "red", radius = ~PPE * 22000)
This gives me an output that presents the abundance as circle size in different geographical point. I don't want this, I am looking to generate a heatmap with this style : image

Please could you help me with any toy script example from other packages that could help me do this job.

Thanks in advance


This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.