Dashboard Chart

A way to plot all the metadata associated with a dataset.



Color Themes


{
   "graphOrientation" : "vertical",
   "graphType" : "Dotplot",
   "groupingFactors" : ["model"],
   "histogramType" : "stacked",
   "theme" : "gameOfThronesStannis"
}
var cX = CanvasXpress.$("canvasId");
cX.createHistogram();
cX.createDOE();
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/cX-mpg-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/cX-mpg-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  graphOrientation="vertical",
  graphType="Dotplot",
  groupingFactors=list("model"),
  histogramType="stacked",
  theme="gameOfThronesStannis",
  afterRender=list(list("createHistogram"), list("createDOE"))
)