Theme

Histogram

Histograms can be created with the function createHistogram in addition to setting the data as tabulated frequencies.

Graph Configuration

{
   "theme" : "CanvasXpress",
   "citation" : "Cameron, E. and Pauling, L. (1978). Proceedings of the National Academy of Science USA, 75.",
   "histogramBins" : 50,
   "title" : "Patients with advanced cancers of the stomach,\\nbronchus, colon, ovary or breast treated with ascorbate.",
   "axisTitleFontStyle" : "italic",
   "showTransition" : false,
   "xAxisTitle" : "Survival (days)",
   "graphType" : "Scatter2D",
   "yAxisTitle" : "Number of Subjects"
}
                

 
 

Graph Configuration

{
   "theme" : "CanvasXpress",
   "citation" : "Cameron, E. and Pauling, L. (1978). Proceedings of the National Academy of Science USA, 75.",
   "histogramBins" : 10,
   "title" : "Patients with advanced cancers of the stomach,\\nbronchus, colon, ovary or breast treated with ascorbate.",
   "axisTitleFontStyle" : "italic",
   "showTransition" : false,
   "xAxisTitle" : "Survival (days)",
   "graphType" : "Scatter2D",
   "yAxisTitle" : "Number of Subjects"
}
                

 
 

Graph Configuration

{
   "histogramBins" : 20,
   "citation" : "Moore, David S., and George P. McCabe (1989). Introduction to the Practice of Statistics, p. 179.",
   "decorations" : {
      "marker" : [
         {
            "sample" : [
               "Alcohol",
               "Tobacco"
            ],
            "variable" : "Northern Ireland",
            "y" : 0.18,
            "x" : 0.45,
            "text" : "Maybe an Outlier?"
         }
      ]
   },
   "theme" : "CanvasXpress",
   "yAxisTitle" : "Frequency",
   "xAxisTitle" : "Pounds Spent",
   "showTransition" : false,
   "graphType" : "Scatter2D",
   "title" : "Average weekly household spending, in British pounds, on tobacco products\\nand alcoholic beverages for each of the 11 regions of Great Britain."
}