Skip to content

Commit

Permalink
Make graph interactive
Browse files Browse the repository at this point in the history
  • Loading branch information
mawds committed Aug 9, 2018
1 parent 06e341b commit 6c8aa4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion worked_example/app.R
Expand Up @@ -50,7 +50,8 @@ server <- function(input, output) {

output$gapminderPlot <- renderPlot({
gapminder %>%
filter(year == 2000) %>%
filter(year == input$year) %>%
filter(continent %in% input$continent) %>%
produceGapminderPlot()
})
}
Expand Down

0 comments on commit 6c8aa4b

Please sign in to comment.