Maplibre

R-bloggers 2025-11-17

Summary:

Heatmap of the french population

Day 17 of 30DayMapChallenge: « A new tool » (previously). Testing Maplibre with {mapgl}.

library(dplyr) library(mapgl) library(sf)

Data Using french communes population.

pop st_centroid() |__ select(population)

Map

maplibre(center = c(5, 45), zoom = 6) |__ add_heatmap_layer( id = "pop", source = pop, heatmap_weight = interpolate( column = "population", values = ...

Continue reading: Maplibre

Link:

https://www.r-bloggers.com/2025/11/maplibre/

From feeds:

Statistics and Visualization » R-bloggers

Tags:

bloggers

Authors:

Michael

Date tagged:

11/17/2025, 18:02

Date published:

11/17/2025, 15:00