2016-02-18

Well, made easier, at least

Why interactive web graphics?

  • Why interactive graphics?
    • "Any high-dimensional dataviz has to be summarized in some way, but interactivity allows us to get details" - (Dr. Karl Broman; JSM 2015)
    • Aids exploration – discover structure that may otherwise go unnoticed (see Wickham, Cook, Hofmann; 2015)
    • Aids communication – everyone loves an interactive plot – Goosebumps, anyone?!?
  • Why interactive web graphics?
    • simple to share, portable (web browser)
    • encourages composability
    • guide your audience by providing links to interesting selections/states

ggplot2 -> web graphics with plotly

library(plotly)
p <- qplot(data = mtcars, x = wt, y = mpg, geom = c("point", "smooth"))
ggplotly(p)