R-MD Slide Presentation Wk-7a

Phillip
10-12-20

Shiny Application

  • This is a presentation of my shiny application.
  • We have to load the pertinent libraries to make the code operate properly.
  • library(dplyr)
  • library(ggplot2)
  • library(shiny)

Slide With Code

Vacation1 <- plot_ly(highlight_key(txhousing, ~city, "select a city"))

D_1 <- ggplot(Vacation1, aes(date, median, group= city)) + geom_line()

Vac2 <- ggplotly(D_1, tooltip = "city") %>%
    layout(title = "Click on an area for your vaction home location in Texas") %>%
    highlight(dynamic = TRUE, selectize = TRUE)

Vac2

Try to find your favorite location in Texas for a vacation home!

If you Are looking for a nice vacation home in the state of Texas, then we can assist with the task. Play with the application below. Click on certain areas of the map and have enjoy!