leaflet
R Interface to Leaflet Maps
This R package provides an interface to Leaflet, an open-source JavaScript library for creating interactive web maps. It allows you to build and customize interactive maps directly from R with a simple, pipe-friendly syntax.
The package integrates seamlessly with R’s data structures and workflows, making it straightforward to visualize spatial data, add markers and popups, customize tile layers, and build interactive map-based visualizations. It’s particularly useful for embedding maps in R Markdown documents, Shiny applications, and other R-based data analysis workflows. The package follows R’s idiomatic patterns while exposing Leaflet’s powerful mapping capabilities.
Contributors#
Resources featuring leaflet#
Election Night Reporting Using R & Quarto (Andrew Heiss & Gabe Osterhout) | posit::conf(2025)
Election Night Reporting Using R & Quarto
Speaker(s): Gabe Osterhout; Andrew Heiss
Abstract:
Election night reporting (ENR) is often clunky, outdated, and overpriced. The Idaho Secretary of State’s office leveraged R and Quarto to create a better ENR product for the end user while driving down costs using the open-source software we all know and love. With help from Dr. Andrew Heiss, R was used in every step of the process—from {dbplyr} backend to visualizing the results using {reactable} tables and {leaflet} maps, combining the output into a visually appealing Quarto website. Quarto was the ideal solution due to its scalability, quick deployment, responsive design, and easy navigation. In addition, Dr. Heiss will discuss the advantages of using a {targets} pipeline and creating programmatic code chunks in Quarto.
GitHub Repo - https://github.com/andrewheiss/election-desk posit::conf(2025) Subscribe to posit::conf updates: https://posit.co/about/subscription-management/
Quarto Dashboards 1: Hello, Dashboards! | Mine Çetinkaya-Rundel | Posit
You already analyze and summarize your data in computational notebooks with R and/or Python. What’s next? You can share your insights or allow others to make their own conclusions in eye-catching dashboards and straight-forward to author, design, and deploy Quarto Dashboards, regardless of the language of your data processing, visualization, analysis, etc. With Quarto Dashboards, you can create elegant and production-ready dashboards using a variety of components, including static graphics (ggplot2, Matplotlib, Seaborn, etc.), interactive widgets (Plotly, Leaflet, Jupyter Widgets, htmlwidgets, etc.), tabular data, value boxes, text annotations, and more. Additionally, with intelligent resizing of components, your Quarto Dashboards look great on devices of all sizes. And importantly, you can author Quarto Dashboards without leaving the comfort of your “home” – in plain text markdown with any text editor (VS Code, RStudio, Neovim, etc.) or any notebook editor (JupyterLab, etc.).
This video takes you through
0:00 - Overview of building dashboards with Quarto 0:15 - Dashboard basics 7:40 - First dashboard in R 10:30 - First dashboard in Python 11:43 - Live coding demo
Slides can be found at https://mine.quarto.pub/quarto-dashboards/1-hello-dashboards/#/title-slide and the starter documents for the accompanying exercises at https://github.com/mine-cetinkaya-rundel/olympicdash .
Materials for all parts of the videos can be accessed at https://mine.quarto.pub/quarto-dashboards

Quarto Dashboards 3: Theming and Styling | Mine Çetinkaya-Rundel | Posit
Theming and styling Quarto dashboards built with R and/or Python.
Before watching this video, you might want to watch Parts 1 & 2.
This video takes you through
0:00 - Theming (including Bootswatch themes, light/dark mode, customizing themes with SCSS) 3:55 - Styling 4:55 - Live coding demo
Slides can be found at https://mine.quarto.pub/quarto-dashboards/3-theming-styling and the starter documents for the accompanying exercises at https://github.com/mine-cetinkaya-rundel/olympicdash .
Materials for all parts of the videos can be accessed at https://mine.quarto.pub/quarto-dashboards .
You already analyze and summarize your data in computational notebooks with R and/or Python. What’s next? You can share your insights or allow others to make their own conclusions in eye-catching dashboards and straight-forward to author, design, and deploy Quarto Dashboards, regardless of the language of your data processing, visualization, analysis, etc. With Quarto Dashboards, you can create elegant and production-ready dashboards using a variety of components, including static graphics (ggplot2, Matplotlib, Seaborn, etc.), interactive widgets (Plotly, Leaflet, Jupyter Widgets, htmlwidgets, etc.), tabular data, value boxes, text annotations, and more. Additionally, with intelligent resizing of components, your Quarto Dashboards look great on devices of all sizes. And importantly, you can author Quarto Dashboards without leaving the comfort of your “home” – in plain text markdown with any text editor (VS Code, RStudio, Neovim, etc.) or any notebook editor (JupyterLab, etc.).
This workshop will walk you through building an increasingly complex dashboard using various layout options and deploy them as static web pages (with no special server required) as well as with a Shiny Server on the backend for enhanced interactivity.
This course is for you if you:
- do data analysis in computational notebooks
- share your results with your audience in static or interactive dashboards
- want to improve the design, user interface, and experience of your dashboards

Dr. Uli Muellner & Nick Snellgrove | Shiny modularization, Leaflet for R and Leaflet JS extensions
Shiny modularization, Leaflet for R and Leaflet JS extensions Under the Hood of the Aotearoa Road Trip App with Epi-interactive
App: https://rshiny2.epi-interactive.com/apps/AotearoaRoadTrip/
Abstract: Come along with Epi-interactive for a tour through the design and development of their 2021 Christmas R Shiny App - the Aotearoa Road Trip!
We will start off with a short history of Epi-interactive’s Christmas Tools, followed by a demonstration of the 2021 Edition and a discussion about its design and concept. Then we will go under the hood into the Shiny / JavaScript code backend which makes it run, such as Shiny modularisation, Leaflet for R and Leaflet JS extensions such as MovingMarker, and some Shiny tricks we picked up along the way.
Speaker Bios: Dr Uli Muellner is Epi-interactive’s Director (IT & Information Design) and has been leading the company’s data visualisation and user interface work over the last decade. After various leadership roles in IT and online learning he co-founded Epi-interactive and built up the company to where it is today. As an advocate of open source technology, he has been the driving force behind the company’s innovative and user-centric approaches and methods.
Nick Snellgrove is a Full-Stack Developer at Epi-interactive. Along with being fluent in R and Shiny development techniques, he has a particular passion for spatial data visualisations, User Experience (UX) development and XR technology


