pairsD3

Interactive pairs plots

Garth Tarr

Traditional pairs plots

pairs(iris,col=iris[,5])

plot of chunk trad-pairs

A better way with the power of D3

Comparison

pairs()

  • static image (non-interactive)
  • can't easily identify observations
  • can't highlight selected observations
  • doesn't interact with Shiny

pairsD3()

  • interactivity powered by D3
  • identifying observations is easy with tooltips
  • highlight selected of observations across all variables
  • interacts with Shiny by sending the selected observations back to the server (e.g. can display them in a data table or perform analysis on a subset of observations)

Get it on Github