# Isolines

library(ggplot2)
library(VancouvR)

The City of Vancouver has a lot of different datasets that can easily be visualized. Mapping contour height lines can be accomplished in just a handful of lines of code.

ggplot(get_cov_data("elevation-contour-lines-1-metre-contours",format="geojson") ) +
geom_sf(aes(color=elevation),size=0.1) +
scale_color_viridis_c(option="inferno",guide=FALSE) +
theme_void()
#> Warning: It is deprecated to specify guide = FALSE to remove a guide. Please
#> use guide = "none" instead.