Dashboard Chart

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



Color Themes


{
   "graphOrientation" : "vertical",
   "graphType" : "Bar",
   "groupingFactors" : ["Pclass"],
   "stackBy" : "Survived",
   "summaryType" : "count",
   "theme" : "lastAirBenderFire"
}
var cX = CanvasXpress.$("canvasId");
cX.createHistogram();
cX.createDOE();
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/cX-titanic-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-titanic-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="Bar",
  groupingFactors=list("Pclass"),
  stackBy="Survived",
  summaryType="count",
  theme="lastAirBenderFire",
  afterRender=list(list("createHistogram"), list("createDOE"))
)