R Maps: Beautiful Interactive Choropleth & Scatter Maps with Plotly
Skills:
Data Literacy80%
R Maps: Beautiful Interactive Choropleth & Scatter Maps with Plotly
Timeline
0:00 Intro
0:28 Reading in data (Choropleth)
1:44 Building base graph (Choropleth)
3:06 Functional & aesthetic changes (Choropleth)
8:02 Reading in data (Scatter map)
8:02 Building Base graph (Scatter map)
9:30 Functional & aesthetic changes (Scatter map)
11:50 Further reading
Learn how to make beautiful interactive maps in R in just a few minutes! Plotly isn't always the best mapping solution for some problems, but overall, it can function really well.
Code: https://github.com/abhimotgi/dataslice/blob/master/R/Maps%20in%20R.R
Plotly maps documentation:
https://plotly.com/r/choropleth-maps/
https://plotly.com/r/scatter-plots-on-maps/
US Minimum Wage by States: https://www.kaggle.com/lislejoem/us-minimum-wage-by-state-from-1968-to-2017
US States & Codes: https://worldpopulationreview.com/states/state-abbreviations
UFO Sightings: https://www.kaggle.com/NUFORC/ufo-sightings
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from Dataslice · Dataslice · 8 of 16
1
2
3
4
5
6
7
▶
9
10
11
12
13
14
15
16
Web Scrape Text from ANY Website - Web Scraping in R (Part 1)
Dataslice
Web Scrape Nested Links/Multiple Pages - Web Scraping in R (Part 2)
Dataslice
Animate Graphs in R: Make Gorgeous Animated Plots with gganimate
dataslice
Word Clouds in R: Useful & Beautiful Word Clouds with wordcloud2
dataslice
Web Scrape in Google Sheets: IMPORTHTML, IMPORTDATA, & IMPORTFEED Functions (Part 1)
dataslice
Web Scrape in Google Sheets: IMPORTXML Function (Part 2)
Dataslice
Make Interactive Graphs in R: Creating & Embedding Interactive Graphs with plotly
dataslice
R Maps: Beautiful Interactive Choropleth & Scatter Maps with Plotly
Dataslice
Build a Data Science Portfolio (Free & Easy) with Jekyll & GitHub Pages | Part 1: Site Configuration
dataslice
Build a Data Science Portfolio (Free & Easy) with Jekyll & GitHub Pages | Part 2: Adding Posts
dataslice
Build a Data Science Portfolio (Free & Easy) with Jekyll & GitHub Pages | Part 3: Customization
dataslice
Regex Basics | Match, Extract, and Clean Text
Dataslice
Scrape Websites with Regular Expressions
Dataslice
Dplyr Essentials (easy data manipulation in R): select, mutate, filter, group_by, summarise, & more
Dataslice
Dplyr Advanced Guide: data cleaning, reshaping, and merging with lubridate, stringr, tidyr, ggplot2
dataslice
Linear Regression Plots in R
dataslice
More on: Data Literacy
View skill →Related AI Lessons
⚡
⚡
⚡
⚡
Ranked: The 7 Real Ways to Make Money With AI in 2026 (S-Tier to F-Tier)
Medium · AI
Automate Your Sample Research with AI-Driven Metadata
Dev.to AI
The Best AI Tools for Writing Fiction in 2026
Dev.to AI
I Created a Simple AI Prompt That Turns Any Resume Into a Portfolio Website
Medium · AI
Chapters (8)
Intro
0:28
Reading in data (Choropleth)
1:44
Building base graph (Choropleth)
3:06
Functional & aesthetic changes (Choropleth)
8:02
Reading in data (Scatter map)
8:02
Building Base graph (Scatter map)
9:30
Functional & aesthetic changes (Scatter map)
11:50
Further reading
🎓
Tutor Explanation
DeepCamp AI