Show the code
library(readr) # read CSV
library(dplyr) # data wrangling
library(sf) # simple features
library(ggplot2) # maps
ggplot
Using Location Dataread_csv
to Read Text File with Client Datasf
Object While Indicating Coordinate Reference System (CRS)ggplot(city_boundary) +
geom_sf(alpha = .5) +
geom_sf(data = AnnArborRoads,
color = "darkgrey") +
geom_sf(data = point,
aes(color = program),
size = 3) +
labs(title = "Ann Arbor",
subtitle = "Location of Program Clients") +
scale_color_viridis_d() +
scale_fill_viridis_d() +
theme_minimal() +
theme(plot.title = element_text(size = rel(2)),
axis.text = element_text(size = rel(.5)),
legend.position = "bottom")