Applying two levels of categorisation

One of the best innovations in Tufte’s “The Visual Display of Quantitative Information” is the idea of using an array of miniature charts to display multi-dimensional data. Often a series of values are recorded at (say) several sites or on several days, then are superimposed on a single chart as a collection of dotted and dashed lines in various colors. This often makes it very hard to see the patterns and relationships in the data.

The final example shows a boxplot, where the data has been split on two of the available dimensions. The outer split is used to create the trellis, while the inner one drives each miniature chart.

This shows the patterns in the data extremely clearly, and should have made anyone very suspicious of the data from Morris. It was later noticed that the yields from this farm had been recorded with the years in the wrong order!

Multiple4
SharpPlot sp = new SharpPlot();
sp.MarginLeft = 48;
sp.SplitBy(_barleyyear);  // Sets trellis
sp.SplitBy(_barleyfarm);  // Used for each plot

sp.BoxPlotStyle = BoxPlotStyles.Horizontal;

sp.YLabelFormat = "XXXXXXX;";

sp.SetXRange(0,80);
sp.SetColors(Color.Orange);
sp.SetCaptionFont("Arial",14,FontStyle.Bold,Color.Firebrick);

sp.DrawMultiple(ChartType.BoxPlot,_barleydata);

See also

Multiple1 Multiple2 Multiple3 Multiple4