Zbtebf1slqjbvbacrdfh

Maps with R Leaflet

Explore your data with dynamic maps

   Watch Promo

Leaflet.js is one of the most popular libraries for creating beautiful looking maps. Companies like Facebook, Pinterest, and The Washington Post use Leaflet to create maps that draw-in and engage viewers in a unique way.

In this course, we'll be using the Leaflet package for R to analyze FBI homicide data in the United States. Specifically we will accomplish the following:

  1. Create a dynamic map with a customized theme.
  2. Overlay FBI data on our maps.
  3. Add interactive data labels and controls.
  4. Show summary statistics with choropleth maps.
  5. Use RMarkdown to create and share reports that contain dynamic maps.
  6. Use RShiny to enhance the dynamic features of Leaflet and share ours map as a web app.


Your Instructor


Greg Sward
Greg Sward

Greg has been coding in R for over 12 years (way before the language was cool). He is the co-founder and Chief Data Scientist at Occam Industries, a fin-tech startup aimed at using data science to develop next-generation financial and economic models. In his spare time, Greg creates and runs courses on R programming. His courses have been featured on IBM's Cognitive Class, and at colleges and universities.

Greg has an Honours Bachelor of Science from the University of Ottawa, a Master of Financial Economics from the University of Toronto, and is a CFA charterholder.


Class Curriculum


  Section 2: Customizing the Base Map
Available in days
days after you enroll
  Section 3: Data Preparation
Available in days
days after you enroll
  Section 5: Choropleths
Available in days
days after you enroll
  Section 6: Sharing Leaflet Maps
Available in days
days after you enroll
  Section 7: Leaflet and Shiny: Enhancing Leaflet's Interactivity
Available in days
days after you enroll

Get started now!