(NYC has huge numbers of libraries in the city.This is the visualization of Queens libraries provided by the official Newyork city office. Mapbox was used to visualize the data.
library(mapboxer)
## Warning: package 'mapboxer' was built under R version 4.0.3
NYC <- read.csv("Queen.csv")
##Plot:
as_mapbox_source(data = NYC,lng="Longitude",lat = "Latitude")%>%
mapboxer(center = c(-73.9165, 40.7114),zoom = 9) %>%
add_circle_layer(
circle_color = "tomato",
circle_radius = 4)%>%
add_navigation_control()