Melody squares visualize the melodic movements in melodies. It breaks down a melody into overlapping motifs of three notes which form two pitch intervals, and plots the first interval horizontally and the second vertically. A melody square, differently put, shows the frequency of pitch interval bigrams. This way of representing melodic motifs immediately highlights differences between corpora, but also suggests some interesting generalizations.
You can read more about this project in chapter 9 of my PhD dissertation.