# 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") ) +
      geom_sf(aes(color=elevation),size=0.1) +
      scale_color_viridis_c(option="inferno",guide=FALSE) +
      theme_void()
    #> Downloading data from CoV Open Data portal
    #> Warning: The `guide` argument in `scale_*()` cannot be `FALSE`. This was deprecated in
    #> ggplot2 3.3.4.
    #> ℹ Please use "none" instead.
    #> This warning is displayed once every 8 hours.
    #> Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
    #> generated.