ChartStudy---MarginalPlot

Typically, a marginal plot actually utilizes the margins of a scatterplot to provide timely and important information about the initial data [1].

Alternative names

  • Stuffed-Crust Charts : refering to the extra information given on each axis of the plot.

Description

A marginal plot visualization adds some extra data for each dimension of the dataset. On the graph below, more information can be be given on the distribution of each attribute depending on Iris species. It allows to display useful data in addtion to a simple scatter plot, without overloading the visualization.

Data visualization for Iris dataset with a marginal plot

Historical/famous Examples

Marginal Plots are quite a marginal way of plotting data. I was not able to find particularly famous nor historically significant marginal plots.

Comments: possible variations

There are as many variations as there are visualization for one dimension arrays. Those visualization are histograms, Box-and-Whisker-Plots, hash lines, and so forth. Here are a few examples.

Scatterplot with Marginal Histograms

Most popular type of 1-D visualization, histograms allows a quick preview of discretized spectrum of data.

Scatterplot with Marginal Histograms [6]

Scatterplot with Marginal Box-and-Whisker-Plots

This gives some statistics tools to work on each dimension. It can be a good way to see if the current visualization is really covering a high percentage of the plotted data.

Scatterplot with Marginal Box-and-Whisker-Plots [6]

Scatterplot with Marginal Hash Lines

It can give an extra insight about data distribution, and can then be considered as an interesting complement to Box-and-Whisker-Plots.

Scatterplot with Marginal Hash Lines [4]

Marginal hash lines can also be categorized to display even more data, for instance to identify a few distinct classes :

Hash lines with different types (colors) [6]

Combined Marginal Plot

Histograms and curves can be combined in a marginal plot, as shown below.

Combined histograms and curves marginal plot [8]

This combination can be pushed to some extreme extent. Below is the combination of density, histogram and a set of box-and-whisker marginal plots.

Density, histogram and box-and-whisker marginal plots [9]

3D Marginal Plot

This can be used to have some more acurate axis for the marginal plots, which are often lacking on other variations.

3D Marginal Plot [5]

Marginal plot on density

Marginal plots can also be used on all variants of scatter plots, such as density plots. On the chart below the 2D density is split between its two dimensions to have a separate view thanks to marginal plots.

Marginal Plot on density scatter plot [10]

Discussion

Pros

  • Extra data on same chart
  • Axis are already plotted
  • Very expressive
  • Can clarify an overloaded graph :
Marginal plot clarifying core data [7]

Cons

  • Can be confusing
  • Can overload the inner information
  • The axis of marginal 1D plots are often omitted

Sources