Hi, I hope your family to be ok.
In this ocassion I´m going to show how an interactive map looks in a web page of R Markdown. This is a perfect opportunity to show the skills that we have been acquiring during this specialization.
In this map I´ll show the Colombian population with some circles making the comparisson between the cities of Bogotá, Cali, Medellín and Pereira, my home.
The code is attached for reproducibily.
cities <- data.frame(name = c("Bogotá", "Cali", "Medellín", "Pereira"), pop = c(7715778, 2205680, 2490164, 399283), lat = c(4.709876, 3.439607, 6.254096, 4.808366), lng = c(-74.083099, -76.524306, -75.578812, -75.694193))
cities %>%
leaflet() %>%
addTiles() %>%
addCircles(weight = 1, radius = sqrt(cities$pop) * 30)
## Assuming "lng" and "lat" are longitude and latitude, respectively
Enjoy learning!