Analyzing US Census Data in R
Kyle Walker
Instructor
ggplot(tx_joined) +
geom_sf()
ggplot(tx_joined, aes(fill = Party)) +
geom_sf()
ggplot(tx_joined, aes(fill = Party)) +
geom_sf() +
scale_fill_manual(values = c("R" = "red", "D" = "blue"))
ggplot(tx_joined, aes(fill = Party)) +
geom_sf() +
coord_sf(crs = 3083, datum = NA) +
scale_fill_manual(values = c("R" = "red", "D" = "blue")) +
theme_minimal() +
labs(title = "State House Districts in Texas")
Analyzing US Census Data in R