SPLOM Chart

SPLOM or scatter plot matrix is a technique invented by John Hartigan in 1975 used to determine correlation between a series of variables. These scatter plots are organized into a matrix to facilitaet data exploration. Here are some exaples with multiple configurations using the Fisher's Iris data set

# Complete


Configuration

The configuration for the visualization above is shown below. You can always access the data and its configuration in any CanvasXpress visualization through the file menu under File → Reproducible Research → Show JSON code. See additional information under User Interface - Menus. For convience you can click this .

{
   "broadcast" : "true",
   "colorBy" : "Species",
   "graphType" : "Scatter2D",
   "layoutAdjust" : "true",
   "scatterPlotMatrix" : "Species",
   "scatterPlotMatrixType" : "all",
   "theme" : "CanvasXpress"
}

R Code

The R code for the visualization above is shown below. For convenience the data and the meata data in the excert is shown in a url accessible tab delimited file to facilitate readability. You can always access the full R code in any CanvasXpress visualization through the file menu under File → Reproducible Research → Show R code. See additional information under User Interface. For convience you can click this .

library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/cX-irist-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/cX-irist-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  broadcast=TRUE,
  colorBy="Species",
  graphType="Scatter2D",
  layoutAdjust=TRUE,
  scatterPlotMatrix="Species",
  scatterPlotMatrixType="all",
  theme="CanvasXpress"
)

# Events and Functionality

Out of the box events

Events are pre-configured in all CanvasXpress visualizations. Refer to documentation to further customize events. Most visualizations have mouseover, click, dbl-click, wheel, context-menu, drag and drop. Press the 'ESC' key to reset the plot.

User Interfaces for exploring and configuring visualization

All visualization come with multiple user interfaces to allow data exploration and configuration. Dbl-click to bring configurator, context-menu to open menus, mouse-over top right to visualization to show toolbar and select either the funnel to open filters and data table or the tools to open the data explorer. See further documentation under User Interfaces.

Drag'n Drop files on the CanvasXpress Visualization

You can drag and drop any delimited text file on the visualization to create a new CanvasXpress plot. Similarly, you can drag and drop formated XML files from Wikipathways, KeGG, Metabase or GML. Furthermore, you can also drag and drop png or json files previously saved in CanvasvasXpress to re-create the visualization.