This question already has an answer here:
Let's say you're given an operation table for a certain operation. If you want to know if it's commutative you just look at the diagonal and see if the table is symmetric around it. Now is there something similar but this time for an associative operation? If not, is there some visualization (like an operation table) by which we can easily see if some operation is associative?