Skip to main content
100%

Gist 200bd2c1c57a4ce6cd078df504f0f65b

✓ Published0🌍 Public
RRCura
Last edited Jan 3, 2017
Created on Jan 3, 2017

This example demonstrates a heatmap overlay on a dark CartoDB basemap, showing the density of simulated point data concentrated around a central Paris location. The visualization is created with R, using the `leaflet` and `leaflet.extras` packages, specifically the `addHeatmap` function with a fixed radius and intensity. The code generates three normally distributed random samples (500k, 100k, and 10k points) with `rnorm`, but displays only the small sample. The rendering relies on Leaflet’s tile-based map and heatmap smoothing, with point aggregation creating a glowing density surface over the geographic area.

AI-generated description

Similar vizzes